From owner-freebsd-acpi@FreeBSD.ORG Sun Mar 13 07:20:41 2011 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A632F1065670 for ; Sun, 13 Mar 2011 07:20:41 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: from mail.geek.sh (decoder.geek.sh [196.36.198.81]) by mx1.freebsd.org (Postfix) with ESMTP id 3EE718FC1A for ; Sun, 13 Mar 2011 07:20:40 +0000 (UTC) Received: from igor.geek.sh (196-209-149-233.dynamic.isadsl.co.za [196.209.149.233]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.geek.sh (Postfix) with ESMTPSA id 9E80C3992D for ; Sun, 13 Mar 2011 09:02:09 +0200 (SAST) Message-ID: <4D7C6BEF.9070303@phat.za.net> Date: Sun, 13 Mar 2011 09:02:07 +0200 From: Aragon Gouveia User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100725 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: C2/C3 states cause poor TCP performance with re(4) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2011 07:20:41 -0000 Hi, I've recently been hunting down a TCP performance issue with re(4) on a system that has C3 states enabled. In short, outgoing TCP traffic shows good performance, but incoming TCP traffic has very unstable throughput with substantial packet loss evident in a tcpdump. The same was observed with C2 states enabled. Limiting to C1 states brought performance back to normal. Can anyone confirm if this is reproducible with drivers other than re(4)? Am I expecting too much in the hope of achieving both C3 states and good performance out of re(4)? Any pointers on getting there? This system is tuned using mav@'s tuning guide: http://wiki.freebsd.org/TuningPowerConsumption Thanks, Aragon