[Top] [All Lists]

fun (was Re: [Nmh-workers] some indexing results)

2011-02-07 15:04:02
ok so if there's no disk cache contention and the ~/Mail/inbox/mhindex.db
file remains readable in disk cache, "scan" can finish in less than 1 second.

#nsa:amd64# time sh -c "./scan +inbox > /tmp/vix2"
0.184u 0.245s 0:00.43 97.6%     144+1355k 0+1io 0pf+0w
#nsa:amd64# time sh -c "./scan +inbox > /tmp/vix2"
0.156u 0.208s 0:00.36 97.2%     148+1437k 0+1io 0pf+0w
#nsa:amd64# time sh -c "./scan +inbox > /tmp/vix2"
0.144u 0.227s 0:00.37 97.2%     147+1426k 0+1io 0pf+0w
#nsa:amd64# wc -l /tmp/vix2
    3293 /tmp/vix2

this is after fixing a bug where i was calling fstat() on the message file
even though i wasn't reading from the message file.  these results are now

Nmh-workers mailing list

<Prev in Thread] Current Thread [Next in Thread>