Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29779

Re: How to limit CPU usage in Python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!news2.arglkargh.de!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <dwightdhutto@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; 'seemed': 0.07; 'subject:How': 0.09; 'received:mail- vb0-f46.google.com': 0.09; 'cc:addr:python-list': 0.10; 'gamers': 0.16; 'overview:': 0.16; 'subject:limit': 0.16; 'subject:usage': 0.16; 'url:faq': 0.16; 'received:209.85.212.46': 0.18; 'os,': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'have,': 0.27; 'opposed': 0.27; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; 'cpu': 0.29; 'url:client': 0.29; 'maybe': 0.29; 'could': 0.32; 'url:ie': 0.33; 'knowledge': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'option': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'brief': 0.38; 'google': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'skip:u 10': 0.60; 'url:search': 0.83; 'url:fs': 0.84; 'url:biz': 0.91
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=mKxxqarxUAyvbrf47MvajO4wHEjOAAEcIWn3DuKPyZU=; b=gUdH8IVf7ZMbP6/EWIhZzHyY9qCX9jB8OqgYuGzFgRI0H4IIROFNIFpDoTlgnltZ9B Mq/+uu5eVkOXPJjMkf9fYpXL8eHy4Rd1YZYr3kZZmdC6d9vuHwzAYL2KHGockELQa4nj orsSdPtZZgjjKqgn0x1VNsrdwyQozwMLrgxs0M6ppZ2N3vqrNMNCOvm0J1jVQMhx9Zys XVW0QkdistQBQ3kOBau5IA519+MnSaYRhBo0aNwaAYrcmdxHw/J9Z2nKRyeAa0B22Nlh 9+o8sSK8TUBCBKZCKghsLSlzC9iGejTc85XUN0G4PkWYstZKmwkIWKzk6pw0okpvtRNV hGhw==
MIME-Version 1.0
In-Reply-To <q69s58dcr0u6nju4faddac6qqaglka5gi8@4ax.com>
References <mailman.960.1348154419.27098.python-list@python.org> <q69s58dcr0u6nju4faddac6qqaglka5gi8@4ax.com>
Date Sat, 22 Sep 2012 23:24:55 -0400
Subject Re: How to limit CPU usage in Python
From Dwight Hutto <dwightdhutto@gmail.com>
To Tim Roberts <timr@probo.com>
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1096.1348370698.27098.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1348370698 news.xs4all.nl 6949 [2001:888:2000:d::a6]:42396
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29779

Show key headers only | View raw


Now also, just thinking theoretically with the knowledge I have,
you could underclock(as opposed to overclocking, which is what gamers
do), but have never seen that option in BIOS.

And maybe there is an option in your OS, google search term 'limiting
processes activity cpu usage':

https://www.google.com/search?client=ubuntu&channel=fs&q=limiting+processes+activity+cpu+usage&ie=utf-8&oe=utf-8

This seemed good for what you want from a brief overview:

http://www.cyberciti.biz/faq/cpu-usage-limiter-for-linux/


Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to limit CPU usage in Python Rolando Cañer Roblejo <rolando.caner@cnic.edu.cu> - 2012-09-20 11:12 -0400
  Re: How to limit CPU usage in Python Tim Roberts <timr@probo.com> - 2012-09-22 13:55 -0700
    Re: How to limit CPU usage in Python Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-22 23:24 -0400
  Re: How to limit CPU usage in Python Paul Rubin <no.email@nospam.invalid> - 2012-09-22 16:05 -0700
    Re: How to limit CPU usage in Python Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-22 23:04 -0400
    Re: How to limit CPU usage in Python Tim Roberts <timr@probo.com> - 2012-09-24 21:09 -0700
    RE: How to limit CPU usage in Python "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-09-27 16:58 +0000
    Re: How to limit CPU usage in Python Jerry Hill <malaclypse2@gmail.com> - 2012-09-27 13:07 -0400

csiph-web