Hi Valdis,
0 [~] time bash -c '(scan +linux-kernel 1-10426 > /dev/null)'
real 0m17.625s
user 0m1.610s
sys 0m3.358s
What does `scan -version' give?
Is 1-10426 actually 10,426 emails? :-)
If you have grep(1) read the files up to the end of the headers instead,
does it still take as long? Something like
pick -list +linux-kernel 1-10426 >/tmp/to-grep
cd `mhpath +linux-kernel`
# Clear the cache, as before.
time xargs grep -m1 ^$ </tmp/to-grep >/dev/null
It does look like it's all I/O bound. I've had some success in the past
reading the emails in disk-address-of-first-byte order instead of nmh's
filename-as-a-number.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers