LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-10-2006, 08:29 AM   #1
jrfk2
LQ Newbie
 
Registered: Jan 2006
Posts: 24

Rep: Reputation: 0
need info on Linux caching of files


I understand that when I write files to a DVD, they are not necessarily written directly to the DVD but cached somewhere, and when I unmount the DVD then that will force the files to be actually written to the DVD. But I *believe* that sometimes Linux will write from the cache to the DVD before I do the unmount itself.

My problem is that I am sometimes writing very large zip files to the DVD and when Linux does decide to commit them to the DVD from cache, it seems that the i/o takes over much of the system to the detrement of other running processes.

So I am trying to find out as much as I can about how Linux caches the files and what affects how much it will want to cache and what affects when it will decide to flush the files from cache to the DVD (apart from unmount). For example does the mechanism care about how many files there are vs how large the files are.

I am hoping to find out if there is a way to tweak some Linux settings or change how/what files I write soas to better meter out getting the files written to DVD without Linux having to suddenly commit so much resource to the i/o to make that happen.

Appreciate any links, insights, etc others can share.

FWIW, I am using the UDF filesystem when I mount the DVD.
 
Old 05-11-2006, 05:18 PM   #2
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
do not know much, related is command sync, and the noatime command in fstab just maybe.
I suppose it is more of a kernel issue.
Also I suppose you are talking about RW dvd?

Jemery posted a tutorial on i/o bottlenecks.
Maybe you need strace, time, ps and other tools to really see what is going on.
What I am saying is, have you got proof it is a caching issue?
(maybe lack of memory, slow HD, but yeah , I guess I/O might be the issue)

Last edited by Emmanuel_uk; 05-11-2006 at 05:19 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
printing info files ttilt Linux - Software 1 01-09-2012 04:43 PM
Simple Linux Caching Proxy for Use with Linspire 5 zizdodrian Linux - Newbie 2 12-28-2005 02:50 AM
samba caching files - need turned off flipperscr83 Linux - Wireless Networking 1 05-18-2005 07:54 AM
.ko files and X modules - info please sharkzf6 Debian 1 02-24-2005 06:48 PM
Info on setting up internal web/dns caching server. l0f33t Linux - Networking 1 05-25-2003 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration