From owner-freebsd-arch@FreeBSD.ORG Sun May 4 17:36:08 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E667E5F; Sun, 4 May 2014 17:36:08 +0000 (UTC) Received: from felyko.com (felyko.com [IPv6:2607:f2f8:a528::3:1337:ca7]) by mx1.freebsd.org (Postfix) with ESMTP id 727DC1DBE; Sun, 4 May 2014 17:36:08 +0000 (UTC) Received: from [IPv6:2601:9:8280:426:bc6f:4b2:eb90:358c] (unknown [IPv6:2601:9:8280:426:bc6f:4b2:eb90:358c]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by felyko.com (Postfix) with ESMTPSA id 9BAB739827; Sun, 4 May 2014 10:36:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=felyko.com; s=mail; t=1399224967; bh=50NS81vUSCzx6I37i5p+nnHnhNaQUeX53nEr1PxBZ8o=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=jt2cyyrL2UggOxI6aRiGGB2pQNzTCgFH4iWamCdwuJfZiHlbhBdGTDnx2bIlxv9Je V6HwLlLqiq9cfnDHKr98pkAS5sZhyeNpTnUTxs339vijkF8IDx3P5zKBB8HU3HLyGE KUW7WbexxhYKdSogNXasBpQhJZzwb5+GBskaFJOE= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: proposal: set default lid state to S3, performance/economy Cx states to Cmax From: Rui Paulo In-Reply-To: Date: Sun, 4 May 2014 10:36:06 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Adrian Chadd X-Mailer: Apple Mail (2.1874) Cc: Kevin Oberman , "freebsd-acpi@freebsd.org" , "freebsd-arch@freebsd.org" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2014 17:36:08 -0000 On May 4, 2014, at 1:27, Adrian Chadd wrote: > * Flipping the default lid state to S3. I think ACPI suspend/resume > seems to work well enough these days and I've not met anyone lately > who expects the default from their laptop to be "stay awake with the > lid shut." The sysctl is really just a hack. We should have a much better = mechanism for integrating our ACPI with the X11 desktop environments. = GNOME/KDE/Mate don't understand our sysctl and get confused easily.=20 You can turn it on by default, but I'm sure ACPI suspend/resume is not = working well enough like you say. How many laptops have you tested? = For completeness, how many desktops? =20 There are bunch of ports kernel modules that will crash your system if = you suspend. VirtualBox is one of them. > * Save chip bugs that we should add workarounds for, we should be OK > to enter lower sleep states when idling. Flipping this may expose some > further crazy driver, platform or timer bugs, but they again likely > should be fixed. They are still not fixed. Some of these problems are not in FreeBSD = though and I don't expect us to be able to work around them. We should = try to identify systems where C3 has surprising effects and blacklist = them. -- Rui Paulo