monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: HOWTO: benchmarking monotone (was Re: "memory e


From: Markus Schiltknecht
Subject: Re: [Monotone-devel] Re: HOWTO: benchmarking monotone (was Re: "memory exhausted" error for 'mtn list status' command)
Date: Thu, 12 Oct 2006 22:05:31 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060927)

Hi,

Nathaniel Smith wrote:
The one in net.venge.monotone.contrib.benchmark.  The thread is at:
  
http://thread.gmane.org/gmane.comp.version-control.monotone.devel/7524/focus=7527

I'm currently playing around with that branch. Two things, a minor one:

$ ./drop_caches
Trying /proc/sys/vm/drop_caches... (requires Linux 2.6.16+)
$ uname -srmo
Linux 2.6.19-rc1 i686 GNU/Linux

And the python traceback below. I didn't look into the source, yet...

Regards

Markus


$ python benchmark.py -m mtn-0.30=../nvm.cbr/mtn -m mtn-30cbr=../nvm.cbr/mtn -b pull='InitialPull(ExistingRepo("../monotone.db"))' -b import-add='InitialImportAdd(SimpleRandomTree(num_files=100))' myscratch myresults --cache mycache
No instrumenters given, using default 'time' instrumenter
/home/markus/projects/monotone/nvm.cbench/myscratch/pull/setup-mtn-0.30/mtn --keydir /home/markus/projects/monotone/nvm.cbench/myscratch/pull/setup-mtn-0.30/keys --rcfile /home/markus/projects/monotone/nvm.cbench/myscratch/pull/setup-mtn-0.30/rcfile.lua --root /home/markus/projects/monotone/nvm.cbench/myscratch/pull/setup-mtn-0.30 db init -d target /home/markus/projects/monotone/nvm.cbench/myscratch/pull/setup-mtn-30cbr/mtn --keydir /home/markus/projects/monotone/nvm.cbench/myscratch/pull/setup-mtn-30cbr/keys --rcfile /home/markus/projects/monotone/nvm.cbench/myscratch/pull/setup-mtn-30cbr/rcfile.lua --root /home/markus/projects/monotone/nvm.cbench/myscratch/pull/setup-mtn-30cbr db init -d target
Trying /proc/sys/vm/drop_caches... (requires Linux 2.6.16+)
time -f DATA: %U %S %E -o /home/markus/projects/monotone/nvm.cbench/myscratch/pull/run-mtn-0.30-time-0/timings-server /home/markus/projects/monotone/nvm.cbench/myscratch/pull/run-mtn-0.30-time-0/mtn-server --keydir /home/markus/projects/monotone/nvm.cbench/myscratch/pull/run-mtn-0.30-time-0/keys --rcfile /home/markus/projects/monotone/nvm.cbench/myscratch/pull/run-mtn-0.30-time-0/rcfile.lua --root /home/markus/projects/monotone/nvm.cbench/myscratch/pull/run-mtn-0.30-time-0 -d /home/markus/projects/monotone/monotone.db --bind=localhost:12345 serve *
Traceback (most recent call last):
File "/home/markus/projects/monotone/nvm.cbench/benchmark.py", line 4, in ?
    mtn_benchmark.cmdline.main(sys.argv[0], sys.argv[1:])
File "/home/markus/projects/monotone/nvm.cbench/mtn_benchmark/cmdline.py", line 107, in main
    driver.run()
File "/home/markus/projects/monotone/nvm.cbench/mtn_benchmark/driver.py", line 59, in run
    benchmark_obj.run(testable)
File "/home/markus/projects/monotone/nvm.cbench/mtn_benchmark/benchmarks.py", line 32, in run
    vcs.pull(self.repo.repo_path(), "target", **extra)
File "/home/markus/projects/monotone/nvm.cbench/mtn_benchmark/mtn.py", line 81, in pull
    self.ep("mtn-server")
File "/home/markus/projects/monotone/nvm.cbench/mtn_benchmark/instrumenters.py", line 40, in run_bg process = super(TimingInstrumenterObj, self).run_bg(name, scratchdir, my_cmd) File "/home/markus/projects/monotone/nvm.cbench/mtn_benchmark/instrumenter.py", line 74, in run_bg
    return Process(cmd)
File "/home/markus/projects/monotone/nvm.cbench/mtn_benchmark/instrumenter.py", line 17, in __init__
    self.popen = subprocess.Popen(cmd, preexec_fn=os.setsid)
  File "/usr/lib/python2.4/subprocess.py", line 543, in __init__
    errread, errwrite)
  File "/usr/lib/python2.4/subprocess.py", line 975, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Exception exceptions.AttributeError: "'Process' object has no attribute 'popen'" in <bound method Process.__del__ of <mtn_benchmark.instrumenter.Process object at 0xb7d544ec>> ignored




reply via email to

[Prev in Thread] Current Thread [Next in Thread]