rpms/libxcb/F-10 libxcb-1.2-disable-nagle.patch, NONE, 1.1 libxcb.spec, 1.13, 1.14
Warren Togami 砥上勇
wtogami at fedoraproject.org
Wed Jun 24 16:43:20 UTC 2009
- Previous message (by thread): rpms/setroubleshoot/devel .cvsignore, 1.104, 1.105 setroubleshoot.spec, 1.138, 1.139 sources, 1.116, 1.117
- Next message (by thread): rpms/qemu/F-11 01-tls-handshake-fix.patch, 1.2, 1.3 02-vnc-monitor-info.patch, 1.2, 1.3 03-display-keymaps.patch, 1.2, 1.3 04-vnc-struct.patch, 1.2, 1.3 05-vnc-tls-vencrypt.patch, 1.2, 1.3 06-vnc-sasl.patch, 1.2, 1.3 07-vnc-monitor-authinfo.patch, 1.2, 1.3 08-vnc-acl-mgmt.patch, 1.2, 1.3 kvm-upstream-ppc.patch, 1.4, 1.5 qemu-avoid-harmless-msr-warnings.patch, 1.1, 1.2 qemu-bios-bigger-roms.patch, 1.2, 1.3 qemu-fix-debuginfo.patch, 1.2, 1.3 qemu-fix-net-socket-list-init.patch, 1.1, 1.2 qemu-kvm-fix-kerneldir-includes.patch, 1.1, 1.2 qemu-ppc-on-ppc.patch, 1.1, 1.2 qemu-prevent-cdrom-media-eject-while-device-is-locked.patch, 1.1, 1.2 qemu-roms-more-room-fix-vga-align.patch, 1.3, 1.4 qemu-roms-more-room.patch, 1.6, 1.7 qemu-fix-x86-feature-modifications-for-features-that-set.patch, 1.1, NONE qemu-make-x86-cpuid-feature-names-available-in-file-scope.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: wtogami
Update of /cvs/pkgs/rpms/libxcb/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv636
Modified Files:
libxcb.spec
Added Files:
libxcb-1.2-disable-nagle.patch
Log Message:
- disable Nagle's algorithm for X TCP traffic as upstream decided this was a bad idea.
This should be a significant performance boost.
libxcb-1.2-disable-nagle.patch:
--- NEW FILE libxcb-1.2-disable-nagle.patch ---
diff -urN libxcb-1.2.orig/src/xcb_util.c libxcb-1.2/src/xcb_util.c
--- libxcb-1.2.orig/src/xcb_util.c 2008-12-11 05:15:34.000000000 -0500
+++ libxcb-1.2/src/xcb_util.c 2009-06-24 11:57:38.592581280 -0400
@@ -30,6 +30,7 @@
#include <sys/socket.h>
#include <sys/un.h>
#include <netinet/in.h>
+#include <netinet/tcp.h>
#ifdef DNETCONN
#include <netdnet/dnetdb.h>
#include <netdnet/dn.h>
@@ -250,6 +251,9 @@
{
fd = socket(addr->ai_family, addr->ai_socktype, addr->ai_protocol);
if(fd >= 0) {
+ int on = 1;
+ setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on));
+
if (connect(fd, addr->ai_addr, addr->ai_addrlen) >= 0)
break;
close(fd);
Index: libxcb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libxcb/F-10/libxcb.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- libxcb.spec 21 Apr 2009 18:21:00 -0000 1.13
+++ libxcb.spec 24 Jun 2009 16:43:18 -0000 1.14
@@ -18,6 +18,7 @@ Patch0: libxcb-1.1-no-pthread-st
Patch2: libxcb-1.1-sloppy-lock.patch
Patch3: libxcb-1.1.91-git.patch
Patch4: libxcb-1.1.91-xidgen.patch
+Patch5: libxcb-1.2-disable-nagle.patch
BuildRequires: autoconf automake libtool pkgconfig
BuildRequires: doxygen
@@ -57,6 +58,7 @@ The %{name}-doc package contains documen
%patch2 -p1 -b .sloppier
%patch3 -p1 -b .git
%patch4 -p1 -b .xidgen
+%patch5 -p1 -b .disable-nagle
%build
autoreconf -v --install
@@ -92,6 +94,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/doc/%{name}-%{version}
%changelog
+* Wed Jun 24 2009 Warren Togami <wtogami at redhat.com> 1.1.91-7
+- disable Nagle's algorithm for X TCP traffic as upstream decided this was a bad idea.
+ This should be a significant performance boost.
+
* Tue Apr 21 2009 Christopher Aillon <caillon at redhat.com> 1.1.91-6
- Add upstream fix for XID generation
- Previous message (by thread): rpms/setroubleshoot/devel .cvsignore, 1.104, 1.105 setroubleshoot.spec, 1.138, 1.139 sources, 1.116, 1.117
- Next message (by thread): rpms/qemu/F-11 01-tls-handshake-fix.patch, 1.2, 1.3 02-vnc-monitor-info.patch, 1.2, 1.3 03-display-keymaps.patch, 1.2, 1.3 04-vnc-struct.patch, 1.2, 1.3 05-vnc-tls-vencrypt.patch, 1.2, 1.3 06-vnc-sasl.patch, 1.2, 1.3 07-vnc-monitor-authinfo.patch, 1.2, 1.3 08-vnc-acl-mgmt.patch, 1.2, 1.3 kvm-upstream-ppc.patch, 1.4, 1.5 qemu-avoid-harmless-msr-warnings.patch, 1.1, 1.2 qemu-bios-bigger-roms.patch, 1.2, 1.3 qemu-fix-debuginfo.patch, 1.2, 1.3 qemu-fix-net-socket-list-init.patch, 1.1, 1.2 qemu-kvm-fix-kerneldir-includes.patch, 1.1, 1.2 qemu-ppc-on-ppc.patch, 1.1, 1.2 qemu-prevent-cdrom-media-eject-while-device-is-locked.patch, 1.1, 1.2 qemu-roms-more-room-fix-vga-align.patch, 1.3, 1.4 qemu-roms-more-room.patch, 1.6, 1.7 qemu-fix-x86-feature-modifications-for-features-that-set.patch, 1.1, NONE qemu-make-x86-cpuid-feature-names-available-in-file-scope.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list