[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svntest and tmpfs slow as disk

From: Blair Zajac <blair_at_orcaware.com>
Date: 2004-01-31 01:22:51 CET

I'm now running svntest on a dual 3.06 Ghz system with 2 Gbytes of
RAM and using the ramdisk, but it's just as fast as running
the tests to disk. Has anybody else seen this. Everything looks
set up ok:

Here's a mount point:
% mount |grep tmpfs
tmpfs on /export/home1/blair/Code/SCMs/Subversion/smoke-test/obj-svn-shared/subversion/tests
type tmpfs (rw,nosuid,nodev,size=600m,user=blair)

Here's one of the test scripts:
% ps -p 29834 -fww
UID PID PPID C STIME TTY TIME CMD
blair 29834 21128 1 16:17 pts/0 00:00:00
/opt/i386-linux/python/bin/python2
/export/home1/blair/Code/SCMs/Subversion/smoke-test/svn/subversion/tests/clients/cmdline/update_tests.py
--verbose

It's cwd is in the tmpfs
% lsof -p 29834
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
python2 29834 blair cwd DIR 0,9 100 87961871
/export/home1/blair/Code/SCMs/Subversion/smoke-test/obj-svn-shared/subversion/tests/clients/cmdline

% grep tmpfs /etc/fstab
none /dev/shm tmpfs defaults 0 0
tmpfs /export/home1/blair/Code/SCMs/Subversion/smoke-test/obj-svn-shared/subversion/tests tmpfs defaults,user,noauto,exec,size=600m

I would expect these tests to scream, but they don't. Look at the
top output:

 16:19:50 up 24 days, 6:20, 6 users, load average: 0.18, 0.21, 0.16
137 processes: 132 sleeping, 1 running, 0 zombie, 4 stopped
CPU0 states: 15.0% user 19.0% system 15.0% nice 0.0% iowait 64.0% idle
CPU1 states: 22.0% user 21.0% system 22.0% nice 0.0% iowait 55.0% idle
Mem: 2064440k av, 1762560k used, 301880k free, 0k shrd, 230028k buff
                    970980k actv, 74820k in_d, 46316k in_c
Swap: 1048536k av, 337900k used, 710636k free 1126500k cached

  PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
 1937 blair 35 10 3768 3768 2596 S N 4.9 0.1 0:00 1 lt-svn
  395 blair 35 10 3512 3512 1784 S N 2.9 0.1 0:00 0 python2

Only a load of 0.2. Running a timing test with a ext3 and tmpfs
show the same time for a full svntest (1 hour). This is on RedHat 9.

Very odd. Anybody has any ideas?

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jan 31 01:23:04 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.