From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50983 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap slowness Date: Sat, 22 Mar 2003 18:52:36 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048355596 1760 80.91.224.249 (22 Mar 2003 17:53:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2003 17:53:16 +0000 (UTC) Cc: ding@hpc.uh.edu Original-X-From: owner-ding@hpc.uh.edu Sat Mar 22 18:53:13 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18wnBB-0000S6-00 for ; Sat, 22 Mar 2003 18:53:13 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18wnAy-0007Hu-00; Sat, 22 Mar 2003 11:53:00 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 22 Mar 2003 11:54:03 -0600 (CST) Original-Received: from yxa.extundo.com (178.230.13.217.in-addr.dgcsystems.net [217.13.230.178]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id LAA20548 for ; Sat, 22 Mar 2003 11:53:49 -0600 (CST) Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.8/8.12.8) with ESMTP id h2MHqaZG026809 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sat, 22 Mar 2003 18:52:37 +0100 Original-To: David Abrahams Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:030322:dave@boost-consulting.com:99a75d3a26c24eb3 X-Hashcash: 0:030322:dave@boost-consulting.com:99a75d3a26c24eb3 X-Payment: hashcash 1.2 0:030322:ding@hpc.uh.edu:9579495da29a2d87 X-Hashcash: 0:030322:ding@hpc.uh.edu:9579495da29a2d87 In-Reply-To: (David Abrahams's message of "Sat, 22 Mar 2003 12:18:17 -0500") User-Agent: Gnus/5.090017 (Oort Gnus v0.17) Emacs/21.3.50 (gnu/linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50983 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50983 David Abrahams writes: >>> When I look at the status line and see >>> >>> imap read: 774K >>> >>> with the numbers spinning upwards at a rate of only about 15K per >>> second I grow highly doubtful that it's doing anything other than >>> reading data from my IMAP server. >> >> Hm, yes, this sounds as if it is the downloading that takes time. Hm, >> maybe it is due to subprocesses in emacs under Windows. Please try >> profiling the imap and nnimap packages to see where it is spending the >> time. Maybe the gnus package too, so that the total time is available >> too (display probably still takes some non-negligible time). > > Here's the result for a `M-G' which is not retrieving any messages at > all, since none were sent (but still does the slow "imap read: ..." > dance up to about 24K). If you want more data, I'll send myself > something big and profile that. For small data, the cause is much more likely to be server slowness or network latency, so please send try sending a 5MB attachment or something. To find out what causes slowness for small data, you must tcpdump or ethereal the stream to see which side is delaying the transfer, or if it is the network that has high latency. ELP data isn't that useful in this case.