On Wednesday 27 June 2007 18:53, Rob Kramer wrote:
My problem is that disk access to the /bulk partition is incredibly slow compared to the / partition. For example, testing with a 2 Gb file:
-------- On /bulk (~/tmp2 is a symlink to /bulk/home/rob/tmp2) [rob] ~/tmp2> time cat bigfile.zip > /dev/null; time cat bigfile.zip
/dev/null; time cat bigfile.zip > /dev/null;
real 7m53.482s user 0m0.184s sys 0m2.152s
real 7m44.993s user 0m0.136s sys 0m2.176s
real 7m45.409s user 0m0.156s sys 0m2.256s
On /: [rob] ~> time cat bigfile.zip > /dev/null; time cat bigfile.zip > /dev/null; time cat bigfile.zip > /dev/null;
real 0m39.047s user 0m0.124s sys 0m1.640s
real 0m38.795s user 0m0.116s sys 0m1.692s
real 0m38.737s user 0m0.140s sys 0m1.516s --------
That's 8 minutes versus 40 seconds, and I can't come up with an explanation for that.. Different kernel versions have the same problem. My system is a Core2 6600 with 2 Gb of ram.
Does anyone have an idea of what could be going on? Some more details:
-------- [rob] ~> df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 76896316 60086608 12903508 83% / udev 1025152 108 1025044 1% /dev /dev/sda2 159527820 119590716 31833520 79% /bulk
Hi Rob, Could be the bigfile.zip on /bulk is written on a very fragmented way. Try using a smaller file. -- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 10:06pm up 0:24, 2.6.18.2-34-default GNU/Linux Let's use OpenOffice. http://www.openoffice.org