Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!news.roellig-ltd.de!open-news-network.org!border2.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'python,': 0.02; 'try:': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'command.': 0.16; 'sudo': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'skip': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'clock': 0.31; 'issuing': 0.31; 'reduced': 0.31; 'guess': 0.33; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; '12,': 0.39; 'sure': 0.39; 'to:addr:gmail.com': 0.65; '2015': 0.84; 'lowers': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mQ8wMxZeyUB392uv2dwv/HuHBkm+5ABVzLh5+kgkkFk=; b=0N1l2GMk+ryxN+bnDNbrSBfXFbFnb/JydY65AnQQLdblwCL8NJcSnQbTtoM89sJRa5 QO6SxNlpVThkCPCMipaCdhsZo91wf6AYBqlsswJO17V0SjbToOUB+wi8bfVKRln3P7vS BtVJk/c4WOwBU2lVESDGtYh5J5XbcR6Qe2fCZSsgywKiaszzoVIBbpol8kzt+v6G3LNs AyVY5bHkuWLaiu/Wqg/n8cQGmWl+LdMYC/VVI9IIpkuMRPnCEzRzq2/LmmF8Vbi5Yq9A xqU+L3m0/TKGL8yT44wRf61bnQpKX+3HoIqfamsIsh46126AAAuj8raev5VS6RAKU2Z4 XPwg== MIME-Version: 1.0 X-Received: by 10.60.35.42 with SMTP id e10mr11759887oej.26.1431436608974; Tue, 12 May 2015 06:16:48 -0700 (PDT) In-Reply-To: References: Date: Tue, 12 May 2015 08:16:48 -0500 Subject: Re: Running cool and silent From: Skip Montanaro To: Rustom Mody Cc: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431436617 news.xs4all.nl 2827 [2001:888:2000:d::a6]:51786 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90448 On Tue, May 12, 2015 at 4:33 AM, Rustom Mody wrote: > $ echo "min_power" | sudo tee /sys/class/scsi_host/host*/link_power_management_policy > > makes the fan slow/stop. > > But I am not sure what it does!! My guess is it lowers the clock speed. To bring this into the realm of Python, here's something you might try: python -m test.pystone echo "min_power" | sudo tee /sys/class/scsi_host/host*/link_power_management_policy python -m test.pystone My guess is that you will see the pystone value reduced after issuing the min_power command. Skip