🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Daniel Weber Sun, 29 Mar 2009 14:53
[INN] Performance decrease since upgrade to 2.4.5
#80471
Author: Daniel Weber
Date: Sun, 29 Mar 2009 14:53
14 lines
1794 bytes
Hello,

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.

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?

Bye,
	Daniel
Re: [INN] Performance decrease since upgrade to 2.4.5
#80478
Author: 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)
Re: [INN] Performance decrease since upgrade to 2.4.5
#80495
Author: Julien ÉLIE
Date: Tue, 31 Mar 2009 06:04
50 lines
3202 bytes
Hi,

>> 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)
>
> In February 2008:
>
> INND timer:
> Code region              Time    Pct    Invoked   Min(ms)    Avg(ms)    Max(ms)
> article write    00:00:24.825   0.0%       5627     0.000      4.412    214.375 (14 Feb 2008)
[...]
> article write    00:00:09.651   0.0%       6218     0.000      1.552    131.000 (04 Feb 2008)
>
> I see that I have a 2.6.24-2 kernel file which dates back to February 14th 2008.
> 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.
>
>
> 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...

Good news!  With 2.6.28:

INND timer:
Code region              Time    Pct    Invoked   Min(ms)    Avg(ms)    Max(ms)
article write    00:00:30.651   0.0%       9060     0.000      3.383    388.000 (30 Mar 2009)

It seems to have improved performance.
(Yet, it was better with 2.6.18.)

-- 
Julien ÉLIE

« -- Il ne doit pas être loin et à pied, on va aussi vite que les bœufs !
  -- Bien sûr ! Les bœufs sont à pied eux aussi ! » (Astérix) 
Re: [INN] Performance decrease since upgrade to 2.4.5
#80501
Author: Daniel Weber
Date: Tue, 31 Mar 2009 17:52
17 lines
1810 bytes
Hi Julien,

Julien ÉLIE schrieb:
> Good news!  With 2.6.28:
> 
> INND timer:
> Code region              Time    Pct    Invoked   Min(ms)    Avg(ms)   
> Max(ms)
> article write    00:00:30.651   0.0%       9060     0.000      3.383   
> 388.000 (30 Mar 2009)
> 
> It seems to have improved performance.

Great, thank you for your research.

Bye,
	Daniel
Re: [INN] Performance decrease since upgrade to 2.4.5
#80511
Author: Julien ÉLIE
Date: Fri, 03 Apr 2009 08:07
33 lines
2522 bytes
Hi Daniel,

> Julien ÉLIE schrieb:
>> Good news!  With 2.6.28:
>>
>> INND timer:
>> Code region              Time    Pct    Invoked   Min(ms)    Avg(ms) Max(ms)
>> article write    00:00:30.651   0.0%       9060     0.000      3.383 388.000 (30 Mar 2009)
>>
>> It seems to have improved performance.
>
> Great, thank you for your research.

I'm sorry to inform you that:

INND timer:
Code region              Time    Pct    Invoked   Min(ms)    Avg(ms)    Max(ms)
article write    00:00:27.083   0.0%       6069     0.000      4.463    245.000 (31 Mar 2009)
article write    00:00:25.508   0.0%       4644     0.000      5.493    220.500 (01 Apr 2009)
article write    00:00:28.062   0.0%       5243     0.000      5.352    657.000 (02 Apr 2009)


There is no change if I stop and start INN so it does not seem to be related.
I only see one thing:  the reboot of the server after the installation of
the new kernel...
And afterwards, performance goes to 5 or 6 ms for article writes as before...

-- 
Julien ÉLIE

« Vita breuis, ars longa, occasio praeceps,
  experimentum pericolosum, iudicium difficile. » (Hippocrate) 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads