in reply to Re^9: Can you improve upon my algorithm.
in thread Can you improve upon my algorithm.
Case and analysis proven.
Setting KEYSIZE = 1; compiling /Ox and running it against my 50x1GB files, it sustains a pretty steady 60MB in/60MB out per second, at a cpu utilisation of ~22-23%; which given my wc -c baseline test of 171mb/s is unidirectional, probably means that it is IO-bound rather than cpu-bound -- testimony to a well implemented heap.
Total runtime for 50GB was a gnat's over 14 minutes which comes out at 61MB/s each way. Very impressive.
Just makes you wonder about gnu/ms sort!
I'll try and add the sort to split files into it tomorrow.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^11: Can you improve upon my algorithm.
by salva (Canon) on Mar 14, 2015 at 07:50 UTC | |
by BrowserUk (Patriarch) on Mar 14, 2015 at 14:14 UTC | |
by BrowserUk (Patriarch) on Mar 14, 2015 at 17:53 UTC |