Hemmann, Volker Armin wrote:
> On Wednesday 05 July 2006 12:43, Daniel wrote:
> 
>> You could also disable all write caching by issuing the command:
>>
>> hdparm -W0 /dev/<your-physical-disk-name>
>>
> 
> emm, no,
> 
> That only deactivates the on-disk cache and has nothing to do with the kernel 
> caches&buffers. In fact, it has nothing to do with the kernel at all.
> 
> Deactivating the cache might be a good thing in certain situations, but it 
> usually just decreases performance. So it is usually a BAD THING(tm).

It's BAD THING(tm) theoretically. Actually I had to disable write cache
to protect file systems against corruption during unexpected restarts.
(For a week or so the eclectic power was very unstable during thunder
storms). I didn't notice any performance hits. The on-disk cache is
relatively veryo small (several MBs) that it wouldn't help at all in
writing big files. If it's used as read cache while accessing
directories with many files inside it has a great performance boost.
It's just my observation. Everyone has to play with these setting until
he/she gets the optimal results for the particular case.


-- 
Best regards,
Daniel

-- 
[email protected] mailing list

Reply via email to