On Friday, January 17, 2014 3:07:02 AM UTC-5, Alan Schmitt wrote: > > Dirk-Jan C. Binnema <[email protected] <javascript:>> writes: > > >> Perhaps I'm overthinking this whole thing, but I'd be curious to hear > >> some best-practices for people with >100k emails that don't want to > >> wait 30 seconds for 'mu index' each time they update. > > > > 30 secs? That seems extremely long; after the first indexing, it only > updates > > messages that have changed, ie. > > > > % time mu index > > indexing messages under /home/djcb/Maildir [/home/djcb/.mu/xapian] > > - processing mail; processed: 53325; updated/new: 0, cleaned-up: 0 > > cleaning up messages [/home/djcb/.mu/xapian] > > - processing mail; processed: 53339; updated/new: 0, cleaned-up: 0 > > elapsed: 1 second(s), ~ 53339 msg/s > > \ processing mail; processed: 53339; updated/new: 0, cleaned-up: 0 > > elapsed: 1 second(s), ~ 53339 msg/s > > /home/djcb/Sources/mu/mu/mu index 0.32s user 0.48s system 82% cpu 0.974 > total > > > > This is on an i5-2500 CPU @ 3.30GHz with 8G memory, and Fedora 20 > > (kernel 3.12). > > I'm also seeing 25s, albeit with 250k messages: > > \ processing mail; processed: 251100; updated/new: 0, cleaned-up: 0 > cleaning up messages [/Users/schmitta/.mu/xapian] > - processing mail; processed: 250403; updated/new: 0, cleaned-up: 0 > elapsed: 10 second(s), ~ 25040 msg/s > \ processing mail; processed: 250403; updated/new: 0, cleaned-up: 0 > elapsed: 26 second(s), ~ 9630 msg/s > 26.71 real 3.60 user 22.13 sys > > > This is an a MacBook Air on OS X 10.9.1 (with SSD hard drive, 4G memory, > 1.8 GHz Inter Core i7). > >
I'm on a MacBook Pro from 2009, OS X 10.9.1, 5400 RPM 1 TB HD, 8 GB memory, 2.26 GHz Core 2 Duo. I think the problem is the 5400 RPM disk. ~ $ time mu index indexing messages under /Users/mankoff/Maildir [/Users/mankoff/.mu/xapian] | processing mail; processed: 93075; updated/new: 0, cleaned-up: 0 cleaning up messages [/Users/mankoff/.mu/xapian] | processing mail; processed: 103498; updated/new: 0, cleaned-up: 0 elapsed: 7 second(s), ~ 14785 msg/s / processing mail; processed: 103498; updated/new: 0, cleaned-up: 0 elapsed: 19 second(s), ~ 5447 msg/s real 0m20.207s user 0m1.917s sys 0m11.395s -- You received this message because you are subscribed to the Google Groups "mu-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
