nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] IMAP/nmh, again


From: Ralph Corderoy
Subject: Re: [Nmh-workers] IMAP/nmh, again
Date: Fri, 27 Oct 2017 22:29:32 +0100

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



reply via email to

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