Hi all.
I'm trying FreeBSD 10.2-RELEASE(i386) for my new home server.
While testing, I have aware that sometimes the shell operation response is very slow.
I looked for the condition and found, that:
while reading long long files, another disk request may be blocked long time.
Like operations below, simple
Don't you have similar experience?
Or please try above commands.
(
(Using 2 consoles, one for
My current home server FreeBSD 8.1R has no problem.
Before switching to i386, 10.2R amd64 had same problem.
I'm doubting: AdvancedFormat 4KB/sect HDD... (of course formatted by
As for my home server, no other problem is found, this is the only and the last problem.
I'm trying FreeBSD 10.2-RELEASE(i386) for my new home server.
While testing, I have aware that sometimes the shell operation response is very slow.
I looked for the condition and found, that:
while reading long long files, another disk request may be blocked long time.
Like operations below, simple
ls
is blocked for several seconds (worst case).
Code:
$ ls -l sample-2G-*
-rw-r--r-- 1 uratan nobody 2147483648 Dec 5 10:02 sample-2G-1.bin
-rw-r--r-- 1 uratan nobody 2147483648 Dec 6 15:33 sample-2G-2.bin
$ (cat sample-2G-[12]* > /dev/null) & (sleep 20; time ls /usr/local/man/)
ja man1 man3 man4 man5 man6 man7 man8 manm whatis
1.46 real 0.00 user 0.00 sys
$ mount
/dev/ada0p5 on /home (ufs, NFS exported, local, noatime, soft-updates)
Don't you have similar experience?
Or please try above commands.
(
sleep 20
is a wait to fill the buffer cache by the long file data, force ls
(or ls
itself) to read from the disk.)(Using 2 consoles, one for
cat
and one for ls
, is more sensitive for slow response, ... and feel vi xxx
or man man
takes over 10 seconds for example.)My current home server FreeBSD 8.1R has no problem.
Before switching to i386, 10.2R amd64 had same problem.
I'm doubting: AdvancedFormat 4KB/sect HDD... (of course formatted by
newfs -U -S 4096
)
Code:
ada0: <WDC WD40EFRX-68WT0N0 82.00A82> ACS-2 ATA SATA 3.x device
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 3815447MB (7814037168 512 byte sectors: 16H 63S/T 16383C)
ada0: quirks=0x1<4K>
As for my home server, no other problem is found, this is the only and the last problem.