I did a search on "disk cache" linux on Google and I was suprised how few hits I got and those I got did not have any information on how to change the cache. I am looking to optimize the cache for video capture. Currently it is apparently caching too much information before flushing it to disk (I have 1gb of memory) which is causing it to get errors reading the video stream while it is writing to disk. I need to temporarily modify the disk cache parameters so it does not wait so long to sync, or take as long to sync. The file system currently is Ext3. Would it be better to redo it as reiserfs? Doug
* Doug Glenn (dglenn@charter.net) [021105 16:25]:
I need to temporarily modify the disk cache parameters so it does not wait so long to sync, or take as long to sync.
See the "/proc/sys/vm" section of /usr/src/linux/Documentation/filesystems/proc.txt. Since you are using ext3 you can 'chattr -S -R /some/dir' to force synchronous writes as well. -- -ckm
On Tuesday 05 November 2002 19:55, Christopher Mahmood wrote:
See the "/proc/sys/vm" section of /usr/src/linux/Documentation/filesystems/proc.txt. Since you are using ext3 you can 'chattr -S -R /some/dir' to force synchronous writes as well.
Is there are web site with this in english and not technospeak? I don't have that directory currently (And I don't want to load the source on this system, not enough drive space on /usr) Doug
* Doug Glenn (dglenn@charter.net) [021105 17:25]:
On Tuesday 05 November 2002 19:55, Christopher Mahmood wrote:
See the "/proc/sys/vm" section of /usr/src/linux/Documentation/filesystems/proc.txt.
Is there are web site with this in english and not technospeak? I don't have that directory currently (And I don't want to load the source on this system, not enough drive space on /usr)
http://hr.uoregon.edu/davidrl/Documentation/filesystems/proc.txt (the first of google's +1300 hits). I'm not sure what you want in English. -- -ckm
On Tuesday 05 November 2002 20:51, Christopher Mahmood wrote:
Is there are web site with this in english and not technospeak? I don't have that directory currently (And I don't want to load the source on this system, not enough drive space on /usr)
http://hr.uoregon.edu/davidrl/Documentation/filesystems/proc.txt (the first of google's +1300 hits).
I'm not sure what you want in English.
Thanks. What did you use for a search? I guess I did not expect it to show up in /proc. There used to be a how-to (2.2 days) on Linux.com and I could not locate that one anymore. I will see if this is the answer. The other is to revert back to resierfs from ext3. I recall I did not get there errors there even without the notail option for resierfs in fstab. English vs technospeak :) I'm not fully up to Linuxese yet, so much to learn still even after 7 years of using Linux. Doug
participants (2)
-
Christopher Mahmood
-
Doug Glenn