From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#15368: HTTP client is slow [2.0.9] Date: Fri, 23 May 2014 22:14:00 +0200 Message-ID: <87egzks16f.fsf@gnu.org> References: <87d2oc260o.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1400876128 20035 80.91.229.3 (23 May 2014 20:15:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 May 2014 20:15:28 +0000 (UTC) To: 15368-done@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri May 23 22:15:21 2014 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wnvs7-0001YU-Qp for guile-bugs@m.gmane.org; Fri, 23 May 2014 22:15:19 +0200 Original-Received: from localhost ([::1]:45496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wnvs7-0000d7-CA for guile-bugs@m.gmane.org; Fri, 23 May 2014 16:15:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wnvrz-0000c3-8t for bug-guile@gnu.org; Fri, 23 May 2014 16:15:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wnvrs-0001Bd-Lb for bug-guile@gnu.org; Fri, 23 May 2014 16:15:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wnvrs-0001A6-J4 for bug-guile@gnu.org; Fri, 23 May 2014 16:15:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wnvrs-0003D9-0j for bug-guile@gnu.org; Fri, 23 May 2014 16:15:04 -0400 Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Fri, 23 May 2014 20:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 15368 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 15368@debbugs.gnu.org, ludo@gnu.org, ludo@gnu.org Original-Received: via spool by 15368-done@debbugs.gnu.org id=D15368.140087604812224 (code D ref 15368); Fri, 23 May 2014 20:15:03 +0000 Original-Received: (at 15368-done) by debbugs.gnu.org; 23 May 2014 20:14:08 +0000 Original-Received: from localhost ([127.0.0.1]:58236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wnvqw-0003B0-23 for submit@debbugs.gnu.org; Fri, 23 May 2014 16:14:08 -0400 Original-Received: from hera.aquilenet.fr ([141.255.128.1]:40142) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wnvqs-0003AM-QC for 15368-done@debbugs.gnu.org; Fri, 23 May 2014 16:14:03 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 572312328 for <15368-done@debbugs.gnu.org>; Fri, 23 May 2014 22:14:01 +0200 (CEST) Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p87eb5MnmC9n for <15368-done@debbugs.gnu.org>; Fri, 23 May 2014 22:14:01 +0200 (CEST) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 037241E38 for <15368-done@debbugs.gnu.org>; Fri, 23 May 2014 22:14:00 +0200 (CEST) In-Reply-To: <87d2oc260o.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 13 Sep 2013 15:41:27 +0200") User-Agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7462 Archived-At: ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Here I get a throughput of ~60 KiB/s, vs. ~400 KiB/s for wget and curl. There=E2=80=99s one little detail I hadn=E2=80=99t even bothered checking: ;; Enlarge the receive buffer. (setsockopt s SOL_SOCKET SO_RCVBUF (* 12 1024)) Its effect was to *shrink* the receive buffer from 124 KiB (the default size, per /proc/sys/net/core/rmem_default) to 12 KiB... Fixed in 0bb3f94, which will be in 2.0.12. Ludo=E2=80=99.