msdosfs performance unbearable
Dominic Fandrey
LoN_Kamikaze at gmx.de
Thu Nov 29 09:07:22 PST 2007
Norberto Meijome wrote:
> On Tue, 27 Nov 2007 09:47:24 +0100
> Dominic Fandrey <LoN_Kamikaze at gmx.de> wrote:
>
>> ufs:
>> $ time -h tar -xf php_manual_en.tar.gz
>> 3.31s real 0.43s user 0.51s sys
>
> I've seem something similar , in the past, on 6.2, when writing to my mobile phone's mini-SD card.
>
> what does gstat show? (in particular, is any device being used 100% ?, can u relate the slowness when it hits 100% ? do other disks other than your FAT disk become saturated too? )
This is the gstat output on UFS for reference:
dT: 1.006s w: 1.000s
L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name
151 2106 47 1416 12.3 2059 11425 21.4 60.8| ad0
0 0 0 0 0.0 0 0 0.0 0.0| acd0
0 0 0 0 0.0 0 0 0.0 0.0| ad0s1
151 2092 33 525 12.1 2059 11425 21.8 53.5| ad0s2
0 0 0 0 0.0 0 0 0.0 0.0| ad0s3
0 14 14 891 12.8 0 0 0.0 17.8| ad0s4
0 0 0 0 0.0 0 0 0.0 0.0| ad0s2a
0 0 0 0 0.0 0 0 0.0 0.0| ad0s2b
0 0 0 0 0.0 0 0 0.0 0.0| ad0s2c
0 0 0 0 0.0 0 0 0.0 0.0| ad0s2d
0 0 0 0 0.0 0 0 0.0 0.0| ad0s2e
151 2092 33 525 12.1 2059 11425 22.5 54.3| ad0s2f
0 0 0 0 0.0 0 0 0.0 0.0| cd0
And this is the same operation on fat32:
dT: 1.017s w: 1.000s
L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name
1 11 0 0 0.0 11 43 0.1 0.2| ad0
0 0 0 0 0.0 0 0 0.0 0.0| acd0
0 0 0 0 0.0 0 0 0.0 0.0| ad0s1
0 0 0 0 0.0 0 0 0.0 0.0| ad0s2
0 0 0 0 0.0 0 0 0.0 0.0| ad0s3
1 11 0 0 0.0 11 43 0.2 0.2| ad0s4
0 0 0 0 0.0 0 0 0.0 0.0| ad0s2a
0 0 0 0 0.0 0 0 0.0 0.0| ad0s2b
0 0 0 0 0.0 0 0 0.0 0.0| ad0s2c
0 0 0 0 0.0 0 0 0.0 0.0| ad0s2d
0 0 0 0 0.0 0 0 0.0 0.0| ad0s2e
0 0 0 0 0.0 0 0 0.0 0.0| ad0s2f
0 0 0 0 0.0 0 0 0.0 0.0| cd0
As you can see, there is a /slight/ difference in throughput. Both slices are
on the same HD, so it's not a controller thing.
More information about the freebsd-stable
mailing list