Disk Video Cache location (using NFS root)
|
24th Feb, 2015, 09:24 PM
Post: #1
|
|||
|
|||
Disk Video Cache location (using NFS root)
I'd like to test the following setting:
Quote:cachemembuffersize But my setup is using root on NFS so the video cache will use NFS disk... very bad I have plenty of unused space on my class 10 sd card: can I remap video cache on some folder/partition on my sd card? |
|||
24th Feb, 2015, 09:48 PM
(This post was last modified: 24th Feb, 2015 09:50 PM by f1vefour.)
Post: #2
|
|||
|
|||
RE: Disk Video Cache location (using NFS root)
Should be able to symlink the cache folder to local disk using bind.
Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us. |
|||
24th Feb, 2015, 11:11 PM
Post: #3
|
|||
|
|||
RE: Disk Video Cache location (using NFS root) | |||
24th Feb, 2015, 11:14 PM
Post: #4
|
|||
|
|||
RE: Disk Video Cache location (using NFS root)
I think it's in ~/.kodi/temp
Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us. |
|||
25th Feb, 2015, 12:48 AM
Post: #5
|
|||
|
|||
RE: Disk Video Cache location (using NFS root)
I tried ~/.kodi/temp
I'm unhappy to not have any more kodi.log on nfs. It was nice to examine the log file offline. Even after a xbian crash (obviously nfs is on my main server) This evening I will try playback of some monster 10G mkv |
|||
25th Feb, 2015, 04:05 AM
Post: #6
|
|||
|
|||
RE: Disk Video Cache location (using NFS root)
I don't suggest you constantly write (i.e. caching) to a SD card.
RAM is also a lot faster. What are you trying to achieve? |
|||
25th Feb, 2015, 05:49 PM
Post: #7
|
|||
|
|||
RE: Disk Video Cache location (using NFS root)
(25th Feb, 2015 04:05 AM)menakite Wrote: I don't suggest you constantly write (i.e. caching) to a SD card. Experimenting My media are on my NFS server. Some very big mkv sometimes stutters. I think my server is a bit overloaded cause it's also doing video surveillance and motion detection with zoneminder. I'm trying if disk cache can do better. Using NFS root my SD card is only used for the /boot partition, so I don't care so much of abusing it as bit As I could see, disk cache is growing a lot during playback. I can see some files in ~/.kodi/temp filecache000.cache filecache001.cache ... I think kodi start to download locally the stream, as fast as network can achieve. Probably if I pause for enough time I will get a local mirror of the whole file. From the log file I get many Quote: WARNING: Close: failed to delete temporary file ""but playback seem fine |
|||
26th Feb, 2015, 01:00 AM
(This post was last modified: 26th Feb, 2015 01:02 AM by menakite.)
Post: #8
|
|||
|
|||
RE: Disk Video Cache location (using NFS root)
Ahh ok, experimenting is fine.
All my media are on NFS too, even over wifi, and I can't see any stutter. Are you using Kodi's internal NFS implementation? I was experiencing stuttering with it, so I'm mounting my shares at the OS level (fstab) with the following flags: hard,noatime,rsize=32768,wsize=32768,nolock,async,bg (pick the maximum rsize and wsize your NFS server allows - you need to verify with "cat /proc/mounts"). I'm also using this trick in advancedsettings.xml, because Kodi does not buffer local files by default (it doesn't know it's actually a network share mounted locally): Code: <network> |
|||
26th Feb, 2015, 01:09 AM
(This post was last modified: 26th Feb, 2015 05:53 AM by rikardo1979.)
Post: #9
|
|||
|
|||
RE: Disk Video Cache location (using NFS root)
what kind of media you playing? do you have pass through sound or downmix?
I can easily play full hd 1080p DTS over NFS or even SMB but pass through. haven't tested downmix for very long time ~~~~>>>Please always follow rules and read before you post<<<~~~~ |
|||
26th Feb, 2015, 02:33 AM
Post: #10
|
|||
|
|||
RE: Disk Video Cache location (using NFS root)
I'm using this in fstab
rw,nolock,async,nfsvers=3,actimeo=0,udp,soft,intr,rsize=65536,wsize=65536,noatime but my server is VERY busy load average: 4.85, 4.92, 4.18 with dual core atom 6 ip cam with zoneminder mysql with php data logging from some arduino apache (with some reverse proxy option) bind fail2ban rtorrent cifs/nfs ftp softraid 5 and some tarpit honeypot with iptables |
|||
« Next Oldest | Next Newest »
|