From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25272 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Comparing mail backends Date: 24 Sep 1999 20:52:10 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035162688 13128 80.91.224.250 (21 Oct 2002 01:11:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:11:28 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA02727 for ; Fri, 24 Sep 1999 14:53:28 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAB19189; Fri, 24 Sep 1999 13:53:25 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 24 Sep 1999 13:53:35 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA08222 for ; Fri, 24 Sep 1999 13:53:22 -0500 (CDT) Original-Received: from quimbies.gnus.org (sparky.gnus.org [193.69.4.146]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA02676 for ; Fri, 24 Sep 1999 14:50:50 -0400 (EDT) Original-Received: (from larsi@localhost) by quimbies.gnus.org (8.8.7/8.8.7) id UAA30374; Fri, 24 Sep 1999 20:53:18 +0200 Mail-Copies-To: never X-Now-Playing: Gustav Mahler & Uri Caine's _Mahler In Toblach-I Went Out This Morning Over The Countryside (cd2)_: "Symphony No 1-Titan-3rd Movement" Original-To: ding@gnus.org In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "22 Aug 1999 14:38:54 +0200" User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) XEmacs/21.2 (Sumida) X-Face: &w!^oO~dS|}-P0~ge{$c!h\ Each kind of mail backend has its own advantages and disadvantages. > Here, I'd like to learn something about speed. > > Which operations are particularly slow and which operations are > particularly fast for the following backends? > > - nnmbox > - nnbabyl > - nnfolder > - nnmh > - nnml > > Operations I'm thinking of: > > - Mail splitting. > - `B c' and `B m' within a server. > - Entering a group (ie, fetching headers). > - Searching in a group with `M-s'. > - Checking all groups when Gnus is started. (I'm not sure what > happens here, but I think at least the number of unread messages > in each group needs to be computed.) > > Feel free to add operations which I haven't thought of. > > Of the above, I know nnml best, and I have seen a bit of nnfolder and > nnmh. But I don't know how nnfolder and nnml compare when moving > messages between groups -- which one is faster? I think fetching > headers is fastest in nnml, then comes nnfolder, and then nnmh. Is > this correct? nnmh seems to be very slow when Gnus is started, at > least compared with nnml; but how does nnfolder come in? Let's see... This is just off the top of my head; I haven't done any studies. In order of speed, fastest first: Mail splitting: nnmbox, nnbabyl, nnfolder, nnmh, nnml Moving and copying: Er. No, wait. There's two kinds of speeds involved. For instance, if you get one new mail, the overhead of loading the huge nnmbox mbox into Emacs will be large, and nnmh will be fastest. If you get a gazillion mails, nnmbox will still have to load its mbox, but after that, it'll just append to its buffer, so it will be faster. The same goes for pretty much all the other operations as well -- `M-s' in an nnfolder group is faster, but entering an nnml group is faster than entering an nnfolder group. And stuff. Like. Checking groups on startup is the same for all the mail backends except nnmh, since they all have active files. (And I do believe Quimby got, er, slashdotted. I mean it only has 16MB of RAM, and each PHP-httpd takes 8MB. Swap-o-rama. And I probably forgot to put a MaxClients thing into the startup file. It had a load of 49 before it stopped talking to me. Wait! I got a prompt! Yay! I should put more RAM into the beast.) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen