[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/38095: Regression with MSDOSFS in 4.0
>Synopsis: Regression with MSDOSFS in 4.0
>Arrival-Date: Sat Feb 23 23:10:00 +0000 2008
>Release: NetBSD 4.0
System: NetBSD loelappie.falu.nl 4.0 NetBSD 4.0 (LOELAPPIE4.0) #1: Sun Jan 13
17:56:39 CET 2008
For the first time since I installed 4.0 on my laptop I have the
occasion to use msdosfs and copy some large files to it.
I notice a regression: sequential write to a file gets slower as the
file gets longer. This was previously fixed with a patch in my
The code from the patch is actually present in the kernel, I checked
that. The problem is likely a change in the write-order of the write
cache. An earlier change like that had rendered the then-existing
caching of FAT entries ineffective, and I strongly suspect the same
thing has happened again.
I can actually hear the disk seeking longer and longer distances
as the file grows, indicating it needs to look up the FAT again and
again as it writes the file data.
Can someone who actually knows something about the write-back order
shine some light on this?
None known. This should be fixed once and for all, i.e. with
something better than a cache covering the last N clusters of
the file with N increasing in each next "fix".
___ Olaf 'Rhialto' Seibert -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl -- Cetero censeo "authored" delendum esse.
Main Index |
Thread Index |