* Re: [sup-talk] Slow opening of threads?
2010-10-22 9:23 [sup-talk] Slow opening of threads? Shadowfirebird
@ 2010-10-22 10:40 ` Amadeusz Żołnowski
2010-10-22 11:48 ` Shadowfirebird
2010-10-22 11:04 ` Gaute Hope
` (3 subsequent siblings)
4 siblings, 1 reply; 16+ messages in thread
From: Amadeusz Żołnowski @ 2010-10-22 10:40 UTC (permalink / raw)
To: sup-talk
[-- Attachment #1.1: Type: text/plain, Size: 645 bytes --]
Excerpts from Shadowfirebird's message of Fri Oct 22 11:23:42 +0200 2010:
> Is it me, or is Sup sometimes very slow at opening a thread? I mean:
> a couple of minutes to open a thread with two or three messages and no
> attachments, about one time in three?
>
> It *could* be because my maildir is on the other side of an NFS mount.
> Or, not.
>
> I'm just wondering if anyone else is experiencing it.
I've just opened thread of 18 messages in less than second. My maildir
holds above 7000 messages and my machine is quite antique.
--
Amadeusz Żołnowski
PGP key fpr: C700 CEDE 0C18 212E 49DA 4653 F013 4531 E1DB FAB5
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 140 bytes --]
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [sup-talk] Slow opening of threads?
2010-10-22 10:40 ` Amadeusz Żołnowski
@ 2010-10-22 11:48 ` Shadowfirebird
2010-10-22 13:09 ` Moritz Wilhelmy
0 siblings, 1 reply; 16+ messages in thread
From: Shadowfirebird @ 2010-10-22 11:48 UTC (permalink / raw)
To: sup-talk
[-- Attachment #1.1: Type: text/plain, Size: 420 bytes --]
Excerpts from Amadeusz Żołnowski's message of Fri Oct 22 11:40:22 +0100 2010:
> I've just opened thread of 18 messages in less than second. My maildir
> holds above 7000 messages and my machine is quite antique.
I've got 343,000 messages. Maybe that's it...
--
Some performers on television appear to be horrible people, but when
you finally get to know them in person, they turn out to be even worse.
-- Avery
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 140 bytes --]
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [sup-talk] Slow opening of threads?
2010-10-22 11:48 ` Shadowfirebird
@ 2010-10-22 13:09 ` Moritz Wilhelmy
2010-10-22 18:02 ` Shadowfirebird
0 siblings, 1 reply; 16+ messages in thread
From: Moritz Wilhelmy @ 2010-10-22 13:09 UTC (permalink / raw)
To: sup-talk
Excerpts from Shadowfirebird's message of Fri Oct 22 13:48:45 +0200 2010:
Dear all,
> I've got 343,000 messages. Maybe that's it...
I heard rumours that notmuch is supposed to be significantly faster than sup
with huge amounts of mail, while also being tag-based. If you don't mind using
emacs, which is - I think - the only usable interface to it, you could give it
a try (sorry for promoting different mailclients here :)
I like sup, because I love the UI (and because I am not bound to emacs)
I love the thread and signature folding. Keep up the good work!
Best regards,
Moritz
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [sup-talk] Slow opening of threads?
2010-10-22 9:23 [sup-talk] Slow opening of threads? Shadowfirebird
2010-10-22 10:40 ` Amadeusz Żołnowski
@ 2010-10-22 11:04 ` Gaute Hope
2010-10-22 11:16 ` Philipp Überbacher
` (2 subsequent siblings)
4 siblings, 0 replies; 16+ messages in thread
From: Gaute Hope @ 2010-10-22 11:04 UTC (permalink / raw)
To: sup-talk
Excerpts from Shadowfirebird's message of fr. okt. 22 11:23:42 +0200 2010:
> It *could* be because my maildir is on the other side of an NFS mount. Or, not.
I'd test that :) I have no problems - might be that simple seek
operations are really expansive over NFS.
- gaute
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [sup-talk] Slow opening of threads?
2010-10-22 9:23 [sup-talk] Slow opening of threads? Shadowfirebird
2010-10-22 10:40 ` Amadeusz Żołnowski
2010-10-22 11:04 ` Gaute Hope
@ 2010-10-22 11:16 ` Philipp Überbacher
2010-10-22 12:21 ` Ben Walton
2010-10-22 12:38 ` Mark Alexander
2010-10-22 17:19 ` Sascha Silbe
4 siblings, 1 reply; 16+ messages in thread
From: Philipp Überbacher @ 2010-10-22 11:16 UTC (permalink / raw)
To: sup-talk
Excerpts from Shadowfirebird's message of 2010-10-22 11:23:42 +0200:
> Is it me, or is Sup sometimes very slow at opening a thread? I mean: a couple of minutes to open a thread with two or three messages and no attachments, about one time in three?
>
> It *could* be because my maildir is on the other side of an NFS mount. Or, not.
>
> I'm just wondering if anyone else is experiencing it.
That sounds weird. In my experience it's only slow when flushing index,
which means everything is frozen for a couple of seconds. Opening
threads is fast enough here. Threads with 50-100 messages take a couple
of seconds though, but it's acceptable.
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [sup-talk] Slow opening of threads?
2010-10-22 11:16 ` Philipp Überbacher
@ 2010-10-22 12:21 ` Ben Walton
0 siblings, 0 replies; 16+ messages in thread
From: Ben Walton @ 2010-10-22 12:21 UTC (permalink / raw)
To: sup-talk
Excerpts from Philipp Überbacher's message of Fri Oct 22 07:16:13 -0400 2010:
> That sounds weird. In my experience it's only slow when flushing index,
> which means everything is frozen for a couple of seconds. Opening
> threads is fast enough here. Threads with 50-100 messages take a couple
> of seconds though, but it's acceptable.
I periodically see slow thread loading and I'm also doing Maildir over
NFS. It's not frequent enough that I've bothered to look into it, but
it does happen from time to time. I've seen it on threads of various
sizes.
HTH.
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [sup-talk] Slow opening of threads?
2010-10-22 9:23 [sup-talk] Slow opening of threads? Shadowfirebird
` (2 preceding siblings ...)
2010-10-22 11:16 ` Philipp Überbacher
@ 2010-10-22 12:38 ` Mark Alexander
2010-10-22 13:03 ` Shadowfirebird
2010-10-22 17:19 ` Sascha Silbe
4 siblings, 1 reply; 16+ messages in thread
From: Mark Alexander @ 2010-10-22 12:38 UTC (permalink / raw)
To: Shadowfirebird; +Cc: sup-talk
Excerpts from Shadowfirebird's message of Fri Oct 22 05:23:42 -0400 2010:
> Is it me, or is Sup sometimes very slow at opening a thread? I mean: a couple of minutes to open a thread with two or three messages and no attachments, about one time in three?
>
> It *could* be because my maildir is on the other side of an NFS mount. Or, not.
I have that experience with one of my maildirs that is in an ecryptfs
directory. It's not quite a couple of minutes, but sometimes up to 30
seconds opening a very long thread. I've seen slowdowns on ecryptfs
doing other things like compiles.
So my guess is that the slowdown you're seeing is due to NFS. In my
experience NFS is a performance hog and should be avoided at all
costs. If at all possible, run sup on a single machine with your
maildirs (and your .sup directory) on a local disk. If you need to
access your mail from other machines, log into your sup-running
machine via ssh.
Also (and this is perhaps the most important thing), run sup inside a
screen session so you won't lose any of your work if the ssh
connection goes down. Screen is useful even if you only access your
mail from a single machine, because it will keep your session alive if
Gnome/KDE crashes or you have to log out and back in for any other
reason.
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [sup-talk] Slow opening of threads?
2010-10-22 12:38 ` Mark Alexander
@ 2010-10-22 13:03 ` Shadowfirebird
2010-10-22 16:28 ` Mark Alexander
0 siblings, 1 reply; 16+ messages in thread
From: Shadowfirebird @ 2010-10-22 13:03 UTC (permalink / raw)
To: Mark Alexander; +Cc: sup-talk
[-- Attachment #1.1: Type: text/plain, Size: 1648 bytes --]
Excerpts from Mark Alexander's message of Fri Oct 22 13:38:16 +0100 2010:
> Excerpts from Shadowfirebird's message of Fri Oct 22 05:23:42 -0400 2010:
> I have that experience with one of my maildirs that is in an ecryptfs
> directory. It's not quite a couple of minutes, but sometimes up to 30
> seconds opening a very long thread. I've seen slowdowns on ecryptfs
> doing other things like compiles.
Interesting that you should mention that, because I have an encrypted $HOME (bad choice at Ubuntu install time -- ::shrug:: ). I suppose it might apply the other way around, too.
> So my guess is that the slowdown you're seeing is due to NFS. In my
> experience NFS is a performance hog and should be avoided at all
> costs. If at all possible, run sup on a single machine with your
> maildirs (and your .sup directory) on a local disk. If you need to
> access your mail from other machines, log into your sup-running
> machine via ssh.
I think I'll plan to run something like offlineIMAP (or just rsync) to sync my maildir to a local folder when I rework my machine in the near future. Also, I'm moving the whole house to gigabit ethernet, so maybe that will help.
> Also (and this is perhaps the most important thing), run sup inside a
> screen session so you won't lose any of your work if the ssh
> connection goes down.
Not a problem here; there's no ssh involved. The maildir is on the server downstairs, and I've got my home directory there mounted here via NFS.
--
If you will practice being fictional for a while, you will understand that
fictional characters are sometimes more real than people with bodies and
heartbeats.
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 140 bytes --]
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [sup-talk] Slow opening of threads?
2010-10-22 13:03 ` Shadowfirebird
@ 2010-10-22 16:28 ` Mark Alexander
0 siblings, 0 replies; 16+ messages in thread
From: Mark Alexander @ 2010-10-22 16:28 UTC (permalink / raw)
To: Shadowfirebird; +Cc: sup-talk
Excerpts from Shadowfirebird's message of Fri Oct 22 09:03:15 -0400 2010:
> Interesting that you should mention that, because I have an
> encrypted $HOME (bad choice at Ubuntu install time -- ::shrug:: ). I
> suppose it might apply the other way around, too.
That could do it. It would mean your .sup directory (and the Xapian
index) would be on ecryptfs, which could be slow.
In my case, my home directory is not encrypted. I only put
work-related stuff (e.g., email) on an encrypted directory
($HOME/Private) that I set up initially with ecryptfs-setup-private.
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [sup-talk] Slow opening of threads?
2010-10-22 9:23 [sup-talk] Slow opening of threads? Shadowfirebird
` (3 preceding siblings ...)
2010-10-22 12:38 ` Mark Alexander
@ 2010-10-22 17:19 ` Sascha Silbe
2010-10-22 19:56 ` Shadowfirebird
4 siblings, 1 reply; 16+ messages in thread
From: Sascha Silbe @ 2010-10-22 17:19 UTC (permalink / raw)
To: sup-talk
[-- Attachment #1.1: Type: text/plain, Size: 1196 bytes --]
Excerpts from Shadowfirebird's message of Fri Oct 22 11:23:42 +0200 2010:
> Is it me, or is Sup sometimes very slow at opening a thread? I mean: a couple of minutes to open a thread with two or three messages and no attachments, about one time in three?
My experience is that
a) thread opening time is proportional to cumulated message size and
b) time for collapsing/expanding a message is proportional to the number
of (expanded) lines in the buffer.
In both cases there's a large factor involved.
Are you getting different timings for the same thread (remember to flush
all OS level caches to check this) or are some threads always slow?
Does it happen in conjunction with polling? I noticed that sup doesn't
always display "Flushing index..." right away (maybe it doesn't flush
the output buffer when displaying the message?).
FWIW, notmuch is not much faster (SCNR) on my systems. Sup is
alternating between IO bound and CPU bound; notmuch kind of eliminates
the CPU bound part, but because it doesn't support mbox the IO bound
part increases significantly. I imagine that notmuch would benefit
greatly from an SSD.
Sascha
--
http://sascha.silbe.org/
http://www.infra-silbe.de/
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 140 bytes --]
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 16+ messages in thread