mongo benchmark results
Quoted 17 lines · Alex Zarochentsev
Quoted 16 lines · Nikita Danilov
Quoted 15 lines · Hans Reiser
Quoted 9 lines · David Dabbs
At http://dabbs.net/reiser4/mongo.html I've posted some benchmarks from my aging but available test box. All numbers were generated with the Namesys mm7 snapshot. The "A.INFO_R4=new" are results from a reiser4 with modified comparison functions as well as
znode_contains_key_strict(). So, here are my questions:Do these results appear consistent with others' recent benchmarking?
Increase
file_sizeto 8k, and then we can compare. This will reduce reiser4's space savings from 19% to 9%, but it will probably increase performance.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Your work had a remarkable effect on the create phase. Very good work. I don't know why the impact was not larger for the stats phase.
Isn't this strange that changes to the key comparison function improved _real_ time more than _cpu_ time?
cpu time is hidden :) A foreground process may just wait, when pdflush does all work. We can't measure it by time(1).
In this case real time is less than twice larger than cpu time, but speedup is 9 times larger. Even if all (real - cpu) time were spent by mongo process waiting for pdflush that was only doing CPU work, such difference couldn't be explained.
Quoted 4 lines
Quoted 4 lines
I don't understand this.
Nikita.
Quoted 4 lines
Quoted 1 line
Signature · 1 line
Alex.
At http://dabbs.net/reiser4/mongo.html I've posted some benchmarks from my aging but available test box. All numbers were generated with the Namesys mm7 snapshot. The "A.INFO_R4=new" are results from a reiser4 with modified comparison functions as well as znode_contains_key_strict(). So, here are my questions:
Do these results appear consistent with others' recent benchmarking? Should I be using particular mount options during benchmarking? I would think running mongo would be necessary to ensuring that reiser4 mods are 'safe,' but it is sufficient?
Viz the prior question, is there a recommended test regimen or regression suite?
I started to dig into mongo a bit and noticed that it does not appear to vary the file & dir _names_ it generates. Most appear to be ~7 characters long with a pattern of 'f' followed by some number. Isn't this a) atypical of file/dir name distribution and b) favorable to/biased towards the "short name" code? IOW, if R4_LARGE_KEYS is the default and all generated test file names' lengths < 15 characters, then the large file name code is not being covered or benchmarked. Perhaps I'm mixing apples and oranges (code coverage and benchmarking).
Just curious,
David
Quoted 9 lines · David Dabbs
At http://dabbs.net/reiser4/mongo.html I've posted some benchmarks from my aging but available test box. All numbers were generated with the Namesys mm7 snapshot. The "A.INFO_R4=new" are results from a reiser4 with modified comparison functions as well as
znode_contains_key_strict(). So, here are my questions:Do these results appear consistent with others' recent benchmarking?
Increase file_size to 8k, and then we can compare. This will reduce reiser4's space savings from 19% to 9%, but it will probably increase performance.
Your work had a remarkable effect on the create phase. Very good work. I don't know why the impact was not larger for the stats phase.
Elena, please reproduce his results on our hardware.
Quoted 7 lines
Should I be using particular mount options during benchmarking? I would think running mongo would be necessary to ensuring that reiser4 mods are 'safe,' but it is sufficient?
Viz the prior question, is there a recommended test regimen or regression suite?
Quoted 7 lines
I started to dig into mongo a bit and noticed that it does not appear to vary the file & dir _names_ it generates. Most appear to be ~7 characters long with a pattern of 'f' followed by some number. Isn't this a) atypical of file/dir name distribution and b) favorable to/biased towards the "short name" code? IOW, if
R4_LARGE_KEYSis the default and all generated test file names' lengths < 15 characters,
You are encouraged to survey filesystems and supply a realistic filename generator.
In practice, most filenames are less than 15 characters.
Another thing we need to do is add a file data generator that is based on slicing and dicing a linux kernel tarball, because we won't be able to do a good benchmark of the compression code until we do so.
Quoted 15 lines
then the large file name code is not being
covered or benchmarked. Perhaps I'm mixing apples and oranges (code coverage and benchmarking).Just curious,
David
Quoted 11 lines · Hans Reiser
Quoted 9 lines · David Dabbs
At http://dabbs.net/reiser4/mongo.html I've posted some benchmarks from my aging but available test box. All numbers were generated with the Namesys mm7 snapshot. The "A.INFO_R4=new" are results from a reiser4 with modified comparison functions as well as
znode_contains_key_strict(). So, here are my questions:Do these results appear consistent with others' recent benchmarking?
Quoted 6 lines
Increase
file_sizeto 8k, and then we can compare. This will reduce reiser4's space savings from 19% to 9%, but it will probably increase performance.Your work had a remarkable effect on the create phase. Very good work. I don't know why the impact was not larger for the stats phase.
Isn't this strange that changes to the key comparison function improved _real_ time more than _cpu_ time?
I don't understand this.
Nikita.
Quoted 16 lines · Nikita Danilov
Quoted 15 lines · Hans Reiser
Quoted 9 lines · David Dabbs
At http://dabbs.net/reiser4/mongo.html I've posted some benchmarks from my aging but available test box. All numbers were generated with the Namesys mm7 snapshot. The "A.INFO_R4=new" are results from a reiser4 with modified comparison functions as well as
znode_contains_key_strict(). So, here are my questions:Do these results appear consistent with others' recent benchmarking?
Increase
file_sizeto 8k, and then we can compare. This will reduce reiser4's space savings from 19% to 9%, but it will probably increase performance.
Quoted 5 lines
Quoted 2 lines
Your work had a remarkable effect on the create phase. Very good work. I don't know why the impact was not larger for the stats phase.
Isn't this strange that changes to the key comparison function improved _real_ time more than _cpu_ time?
cpu time is hidden :) A foreground process may just wait, when pdflush does all work. We can't measure it by time(1).
Quoted 5 lines
I don't understand this.
Nikita.
Signature · 1 line
Alex.
Quoted 17 lines · Alex Zarochentcev
Quoted 16 lines · Nikita Danilov
Quoted 15 lines · Hans Reiser
Quoted 9 lines · David Dabbs
At http://dabbs.net/reiser4/mongo.html I've posted some benchmarks from my aging but available test box. All numbers were generated with the Namesys mm7 snapshot. The "A.INFO_R4=new" are results from a reiser4 with modified comparison functions as well as
znode_contains_key_strict(). So, here are my questions:Do these results appear consistent with others' recent benchmarking?
Increase
file_sizeto 8k, and then we can compare. This will reduce reiser4's space savings from 19% to 9%, but it will probably increase performance.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Your work had a remarkable effect on the create phase. Very good work. I don't know why the impact was not larger for the stats phase.
Isn't this strange that changes to the key comparison function improved _real_ time more than _cpu_ time?
cpu time is hidden :) A foreground process may just wait, when pdflush does all work. We can't measure it by time(1).
I think we should calculate cpu utilization from /proc/stat values same way as vmstat(8) does.
Signature · 1 line
Alex.
Quoted 24 lines · Nikita Danilov
Quoted 23 lines · Alex Zarochentsev
Quoted 21 lines · Nikita Danilov
Quoted 11 lines · Hans Reiser
Quoted 9 lines · David Dabbs
At http://dabbs.net/reiser4/mongo.html I've posted some benchmarks from my aging but available test box. All numbers were generated with the Namesys mm7 snapshot. The "A.INFO_R4=new" are results from a reiser4 with modified comparison functions as well as
znode_contains_key_strict(). So, here are my questions:Do these results appear consistent with others' recent benchmarking?
Quoted 6 lines
Increase
file_sizeto 8k, and then we can compare. This will reduce reiser4's space savings from 19% to 9%, but it will probably increase performance.Your work had a remarkable effect on the create phase. Very good work. I don't know why the impact was not larger for the stats phase.
Isn't this strange that changes to the key comparison function improved _real_ time more than _cpu_ time?
Quoted 7 lines
Quoted 2 lines
cpu time is hidden :) A foreground process may just wait, when pdflush does all work. We can't measure it by time(1).
In this case real time is less than twice larger than cpu time, but speedup is 9 times larger. Even if all (real - cpu) time were spent by mongo process waiting for pdflush that was only doing CPU work, such difference couldn't be explained.
Who said that new code improves CPU time for backgound pdflush/flush not more than it improves foreground reiser_fract_tree? It seems that the flush code contains more key comparion ops than reiser4_write() which is expected to spent most CPU time in copy_from_user().
Signature · 1 line
Alex.
Quoted 12 lines · Hans Reiser
Quoted 10 lines · David Dabbs
At http://dabbs.net/reiser4/mongo.html I've posted some benchmarks from my aging but available test box. All numbers were generated with the Namesys mm7 snapshot. The "A.INFO_R4=new" are results from a reiser4 with modified comparison functions as well as
znode_contains_key_strict(). So, here are my
questions:Do these results appear consistent with others' recent benchmarking?
Quoted 8 lines
Increase
file_sizeto 8k, and then we can compare. This will reduce reiser4's space savings from 19% to 9%, but it will probably increase performance.Your work had a remarkable effect on the create phase. Very good work. I don't know why the impact was not larger for the stats phase.
Elena, please reproduce his results on our hardware.
2 Lena:
I have added a cpu utilization stat (ratio of system time for all cpus to total time, in percents) to mongo.pl.
Please take new mongo before repeating the benchmark.
Signature · 1 line
Alex.
Quoted 6 lines
-----Original Message-----
From: Alex Zarochentsev [mailto:[email protected]]
Sent: Monday, July 26, 2004 12:09 PM2 Lena:
Quoted 7 lines
I have added a cpu utilization stat (ratio of system time for all cpus to total time, in percents) to mongo.pl.
Please take new mongo before repeating the benchmark.
--
Alex.
For what it's worth, I reproduced the mongo runs with 8k files as Hans suggested. Results are at
http://dabbs.net/reiser4/mongo8kfiles.html
The CREATE performance increase seems to have evaporated, though perhaps that was what Hans was looking to test with the updated config. I was in a hurry this morning and I may have varied the test slightly. I'll use Zam's new mongo when I get home this evening. I will as well test copying and compiling the kernel. Unless there's another recommended way to do this, I I'll substitute the output from "time -c" into a mongo log file so mongo_parser can compare the results.
Zam/Elena where should I look for the new mongo tgz? I don't see it at
http://thebsh.namesys.com/benchmarks/.
Thanks for the updated mongo.
david
Quoted 29 lines · David Dabbs
Quoted 6 lines
-----Original Message-----
From: Alex Zarochentsev [mailto:[email protected]]
Sent: Monday, July 26, 2004 12:09 PM2 Lena:
Quoted 9 lines
I have added a cpu utilization stat (ratio of system time for all cpus to total time, in percents) to mongo.pl.
Please take new mongo before repeating the benchmark.
--
Alex.For what it's worth, I reproduced the mongo runs with 8k files as Hans suggested. Results are at
http://dabbs.net/reiser4/mongo8kfiles.html
The CREATE performance increase seems to have evaporated, though perhaps that was what Hans was looking to test with the updated config. I was in a hurry this morning and I may have varied the test slightly. I'll use Zam's new mongo when I get home this evening. I will as well test copying and compiling the kernel. Unless there's another recommended way to do this, I I'll substitute the output from "time -c" into a mongo log file so
mongo_parsercan compare the results.
Quoted 13 lines
Zam/Elena where should I look for the new mongo tgz? I don't see it at
http://thebsh.namesys.com/benchmarks/.Thanks for the updated mongo.
david
The 4k results are also valid/important results. I just tend to choose 8k for the website for various valid reasons.
We probably should try 500 byte file sizes and 50mb file sizes, with gamma of 0, just for fun.
Hans
Quoted 29 lines · David Dabbs
Quoted 6 lines
-----Original Message-----
From: Alex Zarochentsev [mailto:[email protected]]
Sent: Monday, July 26, 2004 12:09 PM2 Lena:
Quoted 9 lines
I have added a cpu utilization stat (ratio of system time for all cpus to total time, in percents) to mongo.pl.
Please take new mongo before repeating the benchmark.
--
Alex.For what it's worth, I reproduced the mongo runs with 8k files as Hans suggested. Results are at
http://dabbs.net/reiser4/mongo8kfiles.html
The CREATE performance increase seems to have evaporated, though perhaps that was what Hans was looking to test with the updated config. I was in a hurry this morning and I may have varied the test slightly. I'll use Zam's new mongo when I get home this evening. I will as well test copying and compiling the kernel. Unless there's another recommended way to do this, I I'll substitute the output from "time -c" into a mongo log file so
mongo_parsercan compare the results.
Quoted 13 lines
Zam/Elena where should I look for the new mongo tgz? I don't see it at
http://thebsh.namesys.com/benchmarks/.Thanks for the updated mongo.
david
Ignore what I said about 500mb mongo, the dd gives the info desired.
I don't understand these results. If they are correct, we have lost a lot of our ext3 performance advantage, and I want to know where it went. Elena, Zam, please comment.
Hello,
Quoted 16 lines · David Dabbs
Quoted 6 lines
-----Original Message-----
From: Alex Zarochentsev [mailto:[email protected]]
Sent: Monday, July 26, 2004 12:09 PM2 Lena:
Quoted 9 lines
I have added a cpu utilization stat (ratio of system time for all cpus to total time, in percents) to mongo.pl.
Please take new mongo before repeating the benchmark.
--
Alex.
Quoted 6 lines
For what it's worth, I reproduced the mongo runs with 8k files as Hans suggested. Results are at
I will let you know when my current benchmarks set will be finished.
BTW, was reiserfs mounted default, w/o notail? If yes, would you please try notail too?
Quoted 9 lines
The CREATE performance increase seems to have evaporated, though perhaps that was what Hans was looking to test with the updated config. I was in a hurry this morning and I may have varied the test slightly. I'll use Zam's new mongo when I get home this evening. I will as well test copying and compiling the kernel. Unless there's another recommended way to do this, I I'll substitute the output from "time -c" into a mongo log file so
mongo_parsercan compare the results.
would you please reboot before the each test?
Quoted 4 lines
Zam/Elena where should I look for the new mongo tgz? I don't see it at
http://thebsh.namesys.com/benchmarks/.
is updated, try please :
http://thebsh.namesys.com/benchmarks/mongo-2004.07.26.tar.gz
Thanks,
Lena
Quoted 10 lines
dated mongo.
david
Quoted 6 lines
-----Original Message-----
From: Hans Reiser
Sent: Monday, July 26, 2004 2:12 PM
Subject: Re: mongo benchmark results
Quoted 7 lines
The 4k results are also valid/important results. I just tend to choose 8k for the website for various valid reasons.
We probably should try 500 byte file sizes and 50mb file sizes, with gamma of 0, just for fun.
Hans
BTW, I mentioned this in a prior post, but will recap. I get the following error when attempting to run mongo with OVERWRITE, MODIFY or APPEND = 'on'
...
Use of uninitialized value in concatenation (.) or string at ./mongo.pl line 562.
PHASE OVERWRITE
...
I modified mongo to LOG the command it was attempting to execute. Though I don't have an example (I'm at work), it appeared that it wasn't correctly building the command to time, hence the error parsing the time results. I looked over the parameter checking and didn't see evidence that one should set these phases to anything but on/off. Since I had limited time and wanted to get through at least a partial run I punted and simply set these phases 'off.'
david
Quoted 3 lines
-----Original Message-----
From: E. Gryaznova [mailto:[email protected]]
Sent: Monday, July 26, 2004 2:41 PM
Okay, here's a recap of the mongo suggestions that I've received:
Hans:
...change file size to 8000
...try 500 byte file sizes, with gamma of 0, just for fun.
Elena:
...run reiser4 with and without 'notail'
...would you please reboot before each test?
Since I have limited time [mother-in-law incoming ;-)] I will run
FILE_SIZE=500, 4000, 8000 <in that order>
GAMMA=0, .2 <in that order>
R4_INFO=notail & default <in that order>
For the notail runs I assume that notail should also be specified with reiserfs as well. Any corresponding option for ext3 or use its default as I have been doing?
Regarding rebooting, are you requesting that I reboot before each _individual_ run or between 'multi-run' batches
(e.g. #sh:/ <options> RUN <options> RUN...?)
david
Quoted 6 lines · David Dabbs
Quoted 5 lines
-----Original Message-----
From: E. Gryaznova [mailto:[email protected]]
Sent: Monday, July 26, 2004 2:41 PM
Quoted 10 lines
Okay, here's a recap of the mongo suggestions that I've received:
Hans:
...change file size to 8000
...try 500 byte file sizes, with gamma of 0, just for fun.Elena:
...run reiser4 with and without 'notail'
not reiser4, but reiserfs notail :)
reiser4 default is enough.
Quoted 6 lines
...would you please reboot before each test?
Since I have limited time [mother-in-law incoming ;-)] I will run
FILE_SIZE=500, 4000, 8000 <in that order>
it does not matter 4k or 8k, I think. So, you can try to repeat 4k benchmark just to be sure that your previous results were correct (if you want, of course).
Quoted 10 lines
GAMMA=0, .2 <in that order>
R4_INFO=notail & default <in that order>For the notail runs I assume that notail should also be specified with reiserfs as well. Any corresponding option for ext3 or use its default as I have been doing?
ext3 default is ok.
Thanks,
Lena
Quoted 11 lines
Regarding rebooting, are you requesting that I reboot before each _individual_ run or between 'multi-run' batches (e.g. #sh:/ <options> RUN <options> RUN...?)
david
It looks like either ext3 gained performance or we lost some recently. Elena is still testing to narrow that down some, and will email her results when they are less preliminary.
Hans
Quoted 12 lines
Quoted 7 lines
Elena:
...run reiser4 with and without 'notail'...would you please reboot before each test?
it does not matter 4k or 8k, I think. So, you can try to repeat 4k benchmark just to be sure that your previous results were correct (if you want, of course).
Quoted 1 line
Quoted 5 lines
ext3 default is ok.
Thanks,
Lena
Elena,
I've reproduced my original mongo benchmarks using the 'cpu util' mongo you posted. The results are at http://dabbs.net/reiser4/mongo_updated.html. I was careful to use the same kernel for all the runs except for one (the reiser4 "mm7" run), rebooting before each test. For some reason I could not get the CREATE phase to finish with GAMMA=0 using ext3, so I didn't move forward with that. Will investigate more when I get the time to do so.
Best,
david
Reiser4 slowed down, Elena has found the changesets responsible, we will fix it.....
In reply to a message not in the archiveI thought the list would be interested to know.
Zam, this is your task, except for the debugging code, which is vs's.
vs, I want you to ensure that it is not possible to leave debugging code on without being warned of it.
Good work elena.
Hans
Quoted 42 lines · E. Gryaznova
Quoted 3 lines
Quoted 2 lines
So, is reiser4 slower or is ext3 faster....?
Hello.
I tried to find what reiser4 changes cause the reiser4 CREATE performance degradation.
There is a "reiser4, CREATE" chart :
(while reading this chart, please notice that some tests were performed twice or more times)
My conclusion is :
1) the first degradation was invited by 1.1614.1.1 snapshot :
[email protected], 2004-06-25 16:33:37+04:00, [email protected]
flush_some_atom: force atom to commit ifjnode_flush()does not
submit nodes to disk even if it
has progress in processing nodes (in case of large fragmented
overwrite set, for example).2) for the second one the "vs debugging code" is responsible. It is started from [email protected], 2004-07-20 12:08:38+04:00, [email protected] debugging code
Thanks,
Lena.Quoted 6 lines
Zam, please comment.
Hans
Quoted 22 lines · David Dabbs
Quoted 14 lines
Quoted 8 lines
Elena:
...run reiser4 with and without 'notail'...would you please reboot before each test?
it does not matter 4k or 8k, I think. So, you can try to repeat 4k benchmark just to be sure that your previous results were correct (if you want, of course).
Quoted 7 lines
ext3 default is ok.
Thanks,
Lena
Quoted 11 lines
Elena,
I've reproduced my original mongo benchmarks using the 'cpu util' mongo you posted. The results are at http://dabbs.net/reiser4/mongo_updated.html. I was careful to use the same kernel for all the runs except for one (the reiser4 "mm7" run), rebooting before each test. For some reason I could not get the CREATE phase to finish with GAMMA=0 using ext3, so I didn't move forward with that. Will investigate more when I get the time to do so.
Hello, David.
what are PHASE_MKFILES and PHASE_MKDIRS in your benchmark? Did you use not original mongo? Would you please send us the modified one?
Thanks,
Lena
Quoted 10 lines
Best,
david
Quoted 10 lines
Quoted 1 line
Hello, David.
what are
PHASE_MKFILESandPHASE_MKDIRSin your benchmark? Did you use not original mongo? Would you please send us
the modified one?Thanks,
Lena
Hi Lena,
PHASE_MKDIRS and PHASE_MKFILES were attempts on my part to inject some realistic filesystem noise into the mongo tests. I simply listed all the directories / files on my computer into files. I created two new programs, mongo_mkfiles and mongo_mkdirs that read a list from stdin and create each directory or file (zero length). I disabled these phases in the runs I published as my test disk space is limited and I didn't want to muddy the waters with non-standard mongo settings. I'll be happy to send you the sources later today. Since the phases were disabled, essentially the results were generated by 'standard' mongo (well, the cpu_util version) sources.
By the way, great work on finding the patch that had been slowing things down.
David
Reiser4 performance is almost completely restored now
In reply to a message not in the archiveIf you look at the benchmarks cited below, we have our performance back, and the slight difference in performance remaining might be within normal benchmark variation, we have to run it again and check.
Hans
Quoted 74 lines · E. Gryaznova
Quoted 15 lines · Alex Zarochentsev
Quoted 12 lines · Elena Gryaznova
Quoted 8 lines · Hans Reiser
Quoted 3 lines · E. Gryaznova
Hans Reiser wrote:
[skipped]
Quoted 17 lines
Quoted 7 lines
I tried to find what reiser4 changes cause the reiser4 CREATE performance degradation.
There is a "reiser4, CREATE" chart :
Quoted 8 lines
(while reading this chart, please notice that some tests were performed twice or more times)
My conclusion is :
1) the first degradation was invited by 1.1614.1.1 snapshot :
[email protected], 2004-06-25 16:33:37+04:00, [email protected]flush_some_atom: force atom to commit ifjnode_flush()does not submit nodes to disk even if it has progress in processing nodes (in case of large fragmented overwrite set, for example).Quoted 8 lines
Yes. I know it might be too strong commit policy.
I have ideas how to fix the fix -- we can repeatjnode_flush()until we submit something to disk -- if one slum goes into overwrite set completely second one may have something sorted to relocate set. Current code commits atom after firstjnode_flushwhich has submitted to disk nothing.Performance is restored :
Thanks,
LenaQuoted 14 lines
Quoted 10 lines
2) for the second one the "vs debugging code" is responsible. It is started from [email protected], 2004-07-20 12:08:38+04:00, [email protected] debugging code
Thanks,
Lena.
RE: Reiser4 performance is almost completely restored now
In reply to E. GryaznovaQuoted 6 lines
If you look at the benchmarks cited below, we have our performance back, and the slight difference in performance remaining might be within normal benchmark variation, we have to run it again and check.
Hans
Are the patches that restore r4 performance included in the latest auto-snapshot (7-29) or is an updated patch forthcoming? I plan to run some mongo tests and want to ensure that I include the fixes.
david
Re: Reiser4 performance is almost completely restored now
Quoted 9 lines · David Dabbs
Quoted 6 lines
If you look at the benchmarks cited below, we have our performance back, and the slight difference in performance remaining might be within normal benchmark variation, we have to run it again and check.
Hans
Are the patches that restore r4 performance included in the latest auto-snapshot (7-29) or is an updated patch forthcoming? I plan to run some
7-30 will include the fixes.
Quoted 3 lines
mongo tests and want to ensure that I include the fixes.
david
Signature · 1 line
Alex.
Unattended mongo benchmark?
In reply to E. GryaznovaI was wondering about a solution to running mongo benchmarks unattended. If one does not exist, how about the following as a 'straw man' approach?
Create a script (say mongo_auto.sh) that takes one numeric parameter. The parameter would indicate which action/mongo script to perform next. The parameters and their associated actions might be something like the following:
Parameter: N=0
- Make a copy of /etc/inittab
- Add a 'sysinit' entry in /etc/inittab that runs "/path/mongo_auto.sh 1"
- Reboot
Parameter: N
- Run the Nth mongo run (specified in a case statement in mongo_auto.sh)0.
- If (ran_without_error)
N = N + 1
if ( N <= Last_Run_Number)
- Update /etc/inittab entry to run "/path/mongo_auto.sh N"
- Reboot
else
- Clean up/restore /etc/inittab
- Run /path/to/mongo_parse.sh 1.log 2.log... > comparison.html
Or, to limit inittab mods to the start/end, the script could read/write a .mongo_auto file that specifies the next run number to take.
David
Re: Unattended mongo benchmark?
In reply to David DabbsQuoted 4 lines · David Dabbs
Nikita,
would you mind including them in the mongo distribution or forwarding them to me?
You should ask Namesys folk about this.
Quoted 19 lines
David
Quoted 16 lines
-----Original Message-----
From: Nikita Danilov [mailto:[email protected]]
Sent: Saturday, July 31, 2004 6:01 AM
To: Hans Reiser
Cc: David Dabbs; [email protected]
Subject: Re: Unattended mongo benchmark?Quoted 1 line
sounds good.
Yes, Namesys has scripts to run arbitrary sequence of benchmarks with reboots in between. These scripts plug themselves into
/etc/rc.d/boot.localrather than in/etc/inittabthough.Quoted 1 line
Nikita.
Re: Unattended mongo benchmark?
In reply to Vladimir V. SavelievQuoted 7 lines · Vladimir V. Saveliev
Quoted 5 lines · David Dabbs
Nikita,
would you mind including them in the mongo distribution or forwarding them to me?
I hope this is a right thing
Yes, it was.
Quoted 13 lines
Quoted 13 lines
David
Quoted 7 lines
-----Original Message-----
From: Nikita Danilov [mailto:[email protected]]
Sent: Saturday, July 31, 2004 6:01 AM
To: Hans Reiser
Cc: David Dabbs; [email protected]
Subject: Re: Unattended mongo benchmark?
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
sounds good.
Yes, Namesys has scripts to run arbitrary sequence of benchmarks with reboots in between. These scripts plug themselves into
/etc/rc.d/boot.localrather than in/etc/inittabthough.Quoted 1 line
Nikita.
Quoted 5 lines
Quoted 4 lines
Re: Unattended mongo benchmark?
In reply to David DabbsQuoted 26 lines · David Dabbs
I was wondering about a solution to running mongo benchmarks unattended. If one does not exist, how about the following as a 'straw man' approach?
Create a script (say
mongo_auto.sh) that takes one numeric parameter. The parameter would indicate which action/mongo script to perform next. The parameters and their associated actions might be something like the following:Parameter: N=0
- Make a copy of/etc/inittab
- Add a 'sysinit' entry in/etc/inittabthat runs "/path/mongo_auto.sh 1"
- RebootParameter: N
- Run the Nth mongo run (specified in a case statement in mongo_auto.sh)0.
- If (ran_without_error)
N = N + 1
if ( N <=Last_Run_Number)
- Update/etc/inittabentry to run "/path/mongo_auto.sh N"
- Reboot
else
- Clean up/restore/etc/inittab
- Run /path/to/mongo_parse.sh 1.log 2.log... > comparison.html
Quoted 12 lines
Or, to limit inittab mods to the start/end, the script could read/write a .mongo_auto file that specifies the next run number to take.
David
sounds good.
Re: Unattended mongo benchmark?
Quoted 40 lines · Hans Reiser
Quoted 26 lines · David Dabbs
I was wondering about a solution to running mongo benchmarks unattended. If one does not exist, how about the following as a 'straw man' approach?
Create a script (say
mongo_auto.sh) that takes one numeric parameter. The parameter would indicate which action/mongo script to perform next. The parameters and their associated actions might be something like the following:Parameter: N=0
- Make a copy of/etc/inittab
- Add a 'sysinit' entry in/etc/inittabthat runs "/path/mongo_auto.sh 1"
- RebootParameter: N
- Run the Nth mongo run (specified in a case statement in mongo_auto.sh)0.
- If (ran_without_error)
N = N + 1
if ( N <=Last_Run_Number)
- Update/etc/inittabentry to run "/path/mongo_auto.sh N"
- Reboot
else
- Clean up/restore/etc/inittab
- Run /path/to/mongo_parse.sh 1.log 2.log... > comparison.htmlQuoted 12 lines
Or, to limit inittab mods to the start/end, the script could read/write a .mongo_auto file that specifies the next run number to take.
David
Quoted 1 line
sounds good.
Yes, Namesys has scripts to run arbitrary sequence of benchmarks with reboots in between. These scripts plug themselves into /etc/rc.d/boot.local rather than in /etc/inittab though.
Quoted 1 line
Nikita.
RE: Unattended mongo benchmark?
Nikita,
would you mind including them in the mongo distribution or forwarding them to me?
David
Quoted 17 lines
-----Original Message-----
From: Nikita Danilov [mailto:[email protected]]
Sent: Saturday, July 31, 2004 6:01 AM
To: Hans Reiser
Cc: David Dabbs; [email protected]
Subject: Re: Unattended mongo benchmark?Quoted 1 line
sounds good.
Yes, Namesys has scripts to run arbitrary sequence of benchmarks with reboots in between. These scripts plug themselves into
/etc/rc.d/boot.localrather than in/etc/inittabthough.Quoted 1 line
Nikita.
Re: Unattended mongo benchmark?
Quoted 5 lines · David Dabbs
Nikita,
would you mind including them in the mongo distribution or forwarding them to me?
I hope this is a right thing
Quoted 25 lines
David
Quoted 18 lines
-----Original Message-----
From: Nikita Danilov [mailto:[email protected]]
Sent: Saturday, July 31, 2004 6:01 AM
To: Hans Reiser
Cc: David Dabbs; [email protected]
Subject: Re: Unattended mongo benchmark?Quoted 1 line
sounds good.
Yes, Namesys has scripts to run arbitrary sequence of benchmarks with reboots in between. These scripts plug themselves into
/etc/rc.d/boot.localrather than in/etc/inittabthough.Quoted 1 line
Nikita.
RE: Unattended mongo benchmark?
In reply to Nikita DanilovQuoted 9 lines
-----Original Message-----
From: Nikita Danilov [mailto:[email protected]]
Sent: Friday, July 30, 2004 4:59 PM
To: Vladimir V. Saveliev
Cc: David Dabbs; [email protected]
Subject: Re: Unattended mongo benchmark?Quoted 1 line · Vladimir V. Saveliev
David Dabbs wrote:
Quoted 9 lines
Quoted 6 lines
Quoted 5 lines
Nikita,
would you mind including them in the mongo distribution or forwarding to me?
I hope this is a right thing
Yes, it was.
Spasiba to you both.
David
Re: Unattended mongo benchmark?
Hello
Quoted 14 lines · David Dabbs
Quoted 14 lines
-----Original Message-----
From: Nikita Danilov [mailto:[email protected]]
Sent: Friday, July 30, 2004 4:59 PM
To: Vladimir V. Saveliev
Cc: David Dabbs; [email protected]
Subject: Re: Unattended mongo benchmark?Quoted 6 lines · Vladimir V. Saveliev
Quoted 5 lines · David Dabbs
Nikita,
would you mind including them in the mongo distribution or forwarding to me?
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
I hope this is a right thing
Yes, it was.
Spasiba to you both.
It spells: spasibo
Quoted 6 lines
David