From owner-cvs-projects@FreeBSD.ORG Wed Feb 1 23:11:47 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B78D016A420; Wed, 1 Feb 2006 23:11:47 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ED5C43D6D; Wed, 1 Feb 2006 23:11:47 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k11NBlex010087; Wed, 1 Feb 2006 23:11:47 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k11NBlAf010086; Wed, 1 Feb 2006 23:11:47 GMT (envelope-from mux) Message-Id: <200602012311.k11NBlAf010086@repoman.freebsd.org> From: Maxime Henrion Date: Wed, 1 Feb 2006 23:11:47 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup stream.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 23:11:47 -0000 mux 2006-02-01 23:11:47 UTC FreeBSD projects repository Modified files: csup stream.c Log: Use Z_DEFAULT_COMPRESSION instead of Z_BEST_SPEED. Since most of the time internet connections are limited in upload, the main bottleneck of csup and CVSup is sending the list of files on the client. That's why using a higher zlib compression level can significantly improve performance. Using Z_DEFAULT_COMPRESSION significantly reduces the amount we need to send without using much more CPU time. With this change, csup is slightly faster than CVSup in my tests. Revision Changes Path 1.48 +2 -2 projects/csup/stream.c