Re: cups slow on linux-2.6.24

From: Krzysztof Oledzki
Date: Mon Jan 28 2008 - 17:57:02 EST




On Tue, 29 Jan 2008, Jeff Chua wrote:



On Jan 28, 2008 7:18 AM, Jeff Chua <jeff.chua.linux@xxxxxxxxx> wrote:
I'm sending printing jobs to a network printer (it's actually printing
to the localhost simply creating a file), and running this on
Linux-2.6.24 will cause the printing to slow down to 1 print every 3
seconds after printing 500 times.

I bisected the kernel since the last known good 2.6.23 and zeroed in to this commit.

commit 17311393f969090ab060540bd9dbe7dc885a76d5
Author: Jozsef Kadlecsik <kadlec@xxxxxxxxxxxxxxxxx>
Date: Thu Oct 11 14:35:52 2007 -0700

[NETFILTER]: nf_conntrack_tcp: fix connection reopening


Reverting this commit solves the problem.

Version 1000 jobs
2.6.23 90 sec
2.6.24 1,492 sec <== with commit
2.6.24(patch) 90 sec <== reverted the commit


Strange. You stated that 2.6.23.12 is OK, however above patch
was included in 2.6.23.4:

http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.23.4
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.23.y.git;a=commitdiff;h=0ac38060c5e1e12e851ed3e281597286b57f9ad1

Commit 0ac38060c5e1e12e851ed3e281597286b57f9ad1 combines two fixes from 2.6.24:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=17311393f969090ab060540bd9dbe7dc885a76d5
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=bc34b841556aad437baf4199744e55500bfa2088

Are you 100% sure that 2.6.23.12 is OK?

Best regards,

Krzysztof Olędzki