[Bug 1704168] Re: Apache-2.4.27 massive slow down for files >8192 bytes long
I can verify this is fixed in Apache 2.4.33 as I just tested this version. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704168 Title: Apache-2.4.27 massive slow down for files >8192 bytes long To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1704168/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704168] Re: Apache-2.4.27 massive slow down for files >8192 bytes long
Cosmic is on 2.4.33 so this is resolved. ** Changed in: apache2 (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704168 Title: Apache-2.4.27 massive slow down for files >8192 bytes long To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1704168/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704168] Re: Apache-2.4.27 massive slow down for files >8192 bytes long
Also thank you a lot for driving this further on the upstream bug David! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704168 Title: Apache-2.4.27 massive slow down for files >8192 bytes long To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1704168/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704168] Re: Apache-2.4.27 massive slow down for files >8192 bytes long
Fixed upstream now and even backported to 2.4 series. Fortunately assumptions were confirmed and this was only a fix in ab that was needed (not the server) which lowers severity a lot IMHO. Fix for 2.4 is: http://svn.apache.org/viewvc?view=revision=1814468 This will be in 2.4.30 and I'd think given that it is only the benchmark that should be enough - as it will be fixed whenever we merge it. If you think this should be SRU'ed [1] into older releases please let me know and help me to make a good case for it - e.g. fill the SRU template you can find in the link and add it here to the bug description. In general the patch seems to apply with a lot of offsets but no fuzz - so it could be rather smooth. For SRU we would need the fix in X/Z/A/B releases. [1]: https://wiki.ubuntu.com/StableReleaseUpdates ** Changed in: apache2 (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704168 Title: Apache-2.4.27 massive slow down for files >8192 bytes long To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1704168/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704168] Re: Apache-2.4.27 massive slow down for files >8192 bytes long
** Changed in: apache2 Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704168 Title: Apache-2.4.27 massive slow down for files >8192 bytes long To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1704168/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704168] Re: Apache-2.4.27 massive slow down for files >8192 bytes long
** Changed in: apache2 Status: Unknown => Confirmed ** Changed in: apache2 Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704168 Title: Apache-2.4.27 massive slow down for files >8192 bytes long To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1704168/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704168] Re: Apache-2.4.27 massive slow down for files >8192 bytes long
** Also affects: apache2 via https://bz.apache.org/bugzilla/show_bug.cgi?id=61301 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/1704168 Title: Apache-2.4.27 massive slow down for files >8192 bytes long To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1704168/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1704168] Re: Apache-2.4.27 massive slow down for files >8192 bytes long
** Also affects: apache2 via https://bz.apache.org/bugzilla/show_bug.cgi?id=61301 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704168 Title: Apache-2.4.27 massive slow down for files >8192 bytes long To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1704168/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704168] Re: Apache-2.4.27 massive slow down for files >8192 bytes long
Upstream bug open worked today. https://bz.apache.org/bugzilla/show_bug.cgi?id=61301 ** Bug watch added: bz.apache.org/bugzilla/ #61301 https://bz.apache.org/bugzilla/show_bug.cgi?id=61301 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704168 Title: Apache-2.4.27 massive slow down for files >8192 bytes long To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1704168/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704168] Re: Apache-2.4.27 massive slow down for files >8192 bytes long
This verifies what I was seeing. It appears all's well with >8192 bytes until ab gets into the "Time taken for tests" which appears to be doing socket housekeeping, then this testing seems to add roughly 5 secs/request. I'll try again + open an upstream bug. I was having problems last time I attempted this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704168 Title: Apache-2.4.27 massive slow down for files >8192 bytes long To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1704168/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704168] Re: Apache-2.4.27 massive slow down for files >8192 bytes long
Hi David, I can at least confirm the issue on ab. And the stress can be reduced a lot for better debugg-ability: $ ab -k -n 1 -c 1 https://DavidFavor.com/foo-8192.txt | grep '^Time per request.*mean)$' Time per request: 397.659 [ms] (mean) $ ab -k -n 1 -c 1 https://DavidFavor.com/foo-8193.txt | grep '^Time per request.*mean)$' Time per request: 5400.170 [ms] (mean) So one byte makes the request x13 longer. But as one single request shows the same issue, we can compare much easier: $ time wget https://DavidFavor.com/foo-8192.txt --quiet real0m0.416s $ time wget https://DavidFavor.com/foo-8193.txt --quiet real0m0.416s So yeah, something in ab most likely. I checked that with the version in Artful to not face a known issue - but it still is occuring there. Checking with "strace -rT" reveals that it is just about as fast with 8193 than 8192. Except there is a last final call on epoll_wait with 5 seconds. That together with many definitions in ab being on 8192 I'd assume it fails to understand that it is done by exceeding some buffer and then opens up a new epoll which is on a 5 second timeout. That is clearly an upstream problem (or they consider >8192 not supported). Would you mind reporting there and posting the bug reference here then? That would be very kind. In terms of an "ubuntu bug" this is "confirmed" but not really actionable. Thanks btw for creating an online setup one can reuse to test this! ** Changed in: apache2 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704168 Title: Apache-2.4.27 massive slow down for files >8192 bytes long To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1704168/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704168] Re: Apache-2.4.27 massive slow down for files >8192 bytes long
After a bit more testing, problem seems to be with ab. Just compiled up https://curl.haxx.se/libcurl/c/chkspeed.html which produces this... lxd: net12-david-favor # ./chkspeed https://DavidFavor.com/foo-8192.txt Data downloaded: 8192 bytes. Total download time: 0.089 sec. Average download speed: 90.153 kbyte/sec. lxd: net12-david-favor # ./chkspeed https://DavidFavor.com/foo-8193.txt Data downloaded: 8193 bytes. Total download time: 0.089 sec. Average download speed: 89.793 kbyte/sec. So same time for either 8192 or 8193 byte files, so looks like Apache-2.4.27 is working... whew... Just ab is having some sort of problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704168 Title: Apache-2.4.27 massive slow down for files >8192 bytes long To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1704168/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs