🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80478

Re: [INN] Performance decrease since upgrade to 2.4.5

#80478
From: Julien ÉLIE
Date: Sun, 29 Mar 2009 16:49
96 lines
6194 bytes
Hi Daniel,

> about three weeks ago, I upgrade from a 2.4.4 snapshot to 2.4.5 and - at
> the same time - from Linux 2.6.18 to 2.6.26.
>
> Since that update, the feeding performance has experienced a significant
> decrease. Especially article writes took 3.3 ms in average prior to the
> update but went up to about 8.1 ms in average after the update.

As you used a snapshot of 2.4.4, let's assume it was an "improved" 2.4.3.
I checked the logs and I see nothing which can have affected article writes
between INN 2.4.3 and INN 2.4.5.


> Is this an expected performance decrease when upgrading to 2.4.5 or
> should I have a closer look at the new Linux kernel consuming the time?

Oh, interesting.
I have just verified on my own timers.

Here is what I currently have in 2009:

INND timer:
Code region              Time    Pct    Invoked   Min(ms)    Avg(ms)    Max(ms)
article write    00:00:24.225   0.0%       4103     0.000      5.904    228.000 (28 Mar 2009)
article write    00:00:28.075   0.0%       4079     0.000      6.883    644.000 (27 Mar 2009)
article write    00:00:26.781   0.0%       4314     0.000      6.208    144.000 (26 Mar 2009)
article write    00:00:29.671   0.0%       5022     0.000      5.908    224.000 (25 Mar 2009)
article write    00:00:26.961   0.0%       4550     0.000      5.925    153.000 (24 Mar 2009)
article write    00:00:25.399   0.0%       4657     0.000      5.454    141.000 (23 Mar 2009)
article write    00:00:25.553   0.0%       3918     0.000      6.522    137.500 (22 Mar 2009)


In February 2008:

INND timer:
Code region              Time    Pct    Invoked   Min(ms)    Avg(ms)    Max(ms)
article write    00:00:25.596   0.0%       5612     0.000      4.561    155.000 (20 Feb 2008)
article write    00:00:20.939   0.0%       5616     0.000      3.728     69.333 (19 Feb 2008)
article write    00:00:23.385   0.0%       6305     0.000      3.709    143.000 (18 Feb 2008)
article write    00:00:22.282   0.0%       5847     0.000      3.811    181.000 (17 Feb 2008)
article write    00:00:23.107   0.0%       5099     0.000      4.532    192.500 (16 Feb 2008)
article write    00:00:21.984   0.0%       6205     0.000      3.543    344.000 (15 Feb 2008)
article write    00:00:24.825   0.0%       5627     0.000      4.412    214.375 (14 Feb 2008)
article write    00:00:22.363   0.0%       6478     0.000      3.452    263.000 (13 Feb 2008)
article write    00:00:18.799   0.0%       5695     0.000      3.301    209.000 (12 Feb 2008)
article write    00:00:15.150   0.0%       5724     0.000      2.647     67.400 (11 Feb 2008)
article write    00:00:09.669   0.0%       5457     0.000      1.772    106.000 (10 Feb 2008)
article write    00:00:09.614   0.0%       5097     0.000      1.886    102.000 (09 Feb 2008)
article write    00:00:11.050   0.0%       5697     0.000      1.940    195.667 (08 Feb 2008)
article write    00:00:08.745   0.0%       6109     0.000      1.431    117.500 (07 Feb 2008)
article write    00:00:08.456   0.0%       6209     0.000      1.362    125.250 (06 Feb 2008)
article write    00:00:07.433   0.0%       6332     0.000      1.174    128.333 (05 Feb 2008)
article write    00:00:09.651   0.0%       6218     0.000      1.552    131.000 (04 Feb 2008)


Changes in February 2008 on INN had no impact on performance.

But now is the interesting part:

18:32 iulius@trigo /boot% ll
total 8,2M
drwxr-xr-x 2 root root 4,0K 2008-08-14 18:19 grub/
lrwxrwxrwx 1 root root   36 2008-04-24 09:14 System.map -> System.map-2.6.24.5-xxxx-std-ipv6-32
-rw-r--r-- 1 root root 998K 2008-02-14 16:23 System.map-2.6.24.2-xxxx-std-ipv6-32
-rw-r--r-- 1 root root 820K 2008-08-14 18:17 System.map-2.6.24.5-xxxx-std-ipv6-32
-rw-r--r-- 1 root root 3,2M 2008-02-14 16:23 vmlinuz-2.6.24.2-xxxx-std-ipv6-32
-rw-r--r-- 1 root root 3,2M 2008-08-14 18:18 vmlinuz-2.6.24.5-xxxx-std-ipv6-32


I see that I have a 2.6.24-2 kernel file which dates back to February 14th 2008.
I assume I installed it a few days before and changed it a few times until the date I see
in my /boot directory.
INN performance decreased!
I do not remember the version of the kernel I had before (2.6.18 or 2.6.22?).

My performance got worse afterwards around May 2008.  Presumably after having
installed a new 2.6.24 kernel (if I trust the date of the symlink).
No change in August (I assume it was almost the same 2.6.24-5 kernel).


Well, I think the problem comes from the kernel.
As you report 2.6.26 does not change anything, I am going to install 2.6.28.
Maybe it will be better...

18:50 iulius@trigo /boot% uptime
 18:50:23 up 227 days, 30 min,  1 user,  load average: 0.00, 0.00, 0.00

Let's reset the counter :)

-- 
Julien ÉLIE

« J'ai six loyaux serviteurs, ils m'ont appris tout ce que je sais :
  ils s'appellent quoi, pourquoi, quand, comment, où et qui. » (Rudyard Kipling)
Technical Details
Message-ID: <gqo8ud$pt2$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
References: <gqo20m$gj4$1@solani.org>

Show Full Headers
Complete Article Headers
Message-ID: <gqo8ud$pt2$1@news.trigofacile.com>
Subject: Re: [INN] Performance decrease since upgrade to 2.4.5
Date: Sun, 29 Mar 2009 18:49:33 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <gqo20m$gj4$1@solani.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 96
NNTP-Posting-Host: aaubervilliers-151-1-43-38.w83-112.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-15";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1238345486 26530 83.112.152.38 (29 Mar 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sun, 29 Mar 2009 16:51:26 +0000 (UTC)
In-Reply-To: <gqo20m$gj4$1@solani.org>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049