Git Product home page Git Product logo

cpulimit's Introduction

cpulimit


从之前版本修改而来,之前的程序用来限制某一个进程的cpu使用率,这一版本是限制系统内所有程序的cpu使用率的,除了自己和system进程。 程序的用途主要是在虚拟机里,让虚拟机主动放弃使用部分的cpu,从而弥补vmware workstation没有调整虚拟机cpu占用率的不足。

目前在windows xp / windows 10(1909)上测试一切正常,虚拟机内工作正常,不会影响正常的图形功能(显卡并没有被限制),会轻微影响鼠标键盘的反馈速度(有可能会丢失一些操作,但影响不大)。 测试是在ryzen 5 3500u的cpu上,使用windows 10(1909)当主机,windows xp当客户机,cpulimit限制设置在50%(-l 50)时测得的。目前最低可以降低到20%而不显著影响使用,再低鼠标键盘事件的丢失将不可容忍。

Build Status

CPU usage limiter for windows (cygwin)

This program allow limit CPU usage by any other program. This can be usefull for example for those users, who use distributed calculations clients and have problems with CPU overheating.

It's a clone of cpulimit for linux.

Build and Installation

This package is compatible with the GNU autotools.

  • Windows

    $ git submodule init

    $ git submodule update

    It's configure to build with "Microsoft Visual C++ 2008":

    - executing `cpulimit.vcproj` file.
    
  • Cygwin

    • Requirements

      • autotools
      • make
    • Briefly the following commands should build, test and install this package.

      $ autoreconf -i && ./configure && make && make install

      See the INSTALL file for more detailed instructions.

Help

$ cpulimit --help

TODO

  • Tests suite
  • Man
  • bash conpletion

Acknowledgments

The original cpulimit was written by Killer

cpulimit's People

Contributors

alquerci avatar ljp2010 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.