Re: Compressing log files and CPU load




"Pomata" <POMATA@xxxxxxxxxxxxxxxxxxxxx> pí¨e v diskusním príspevku
news:43de45e6$0$27299$4fafbaef@xxxxxxxxxxxxxxxxxxxxxx
> Zdenek Sojka ha scritto:
> > It makes 100% CPU load, but has lower priority. So if any other process
> > wants to use CPU, it will use it rather than WinRAR.
> > Why wuold you want to use your CPU only partially?
>
> simply because the compression operation is running on a web server that
> is heavy used 24h per day.

Well, I dont know the configuration and purpose of your server. But you
ahould at least try to run an archiver with low priority settings
("background" mode in WinRAR). You still get a 100% full load, but the
compression won't slow your system if you are running other processes at
normal priority.
And, even if you managed to use just 50% of your CPU to compress, sometimes
the higher demanding services would stall because they would require far
much CPU than just 50% (and they will be stalled everytime, for sure).


.



Relevant Pages

  • [ckpatch][3/29] 2.6.17-smpnice-staircase-16
    ... Implement the "staircase" hybrid foreground-background single priority ... array cpu scheduler policy. ... extern struct user_struct root_user; ... goto out_running; ...
    (Linux-Kernel)
  • [RFC][PATCH] O(1) Entitlement Based Scheduler
    ... This patch is a modification of the Oscheduler that introduces ... _entitlement_ to CPU resources that is determined by the number of _shares_ ... This patch provides both soft and hard CPU usage rate caps per ... one getting the most can be given a better priority, ...
    (Linux-Kernel)
  • [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler
    ... Staircase DeadLine" cpu scheduler. ... A novel design which incorporates a foreground-background descending priority ... the cpu that it is queued onto also keeps a record of that quota. ... run at this runqueue's current priority rotation. ...
    (Linux-Kernel)
  • Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler
    ... Staircase DeadLine" cpu scheduler. ... A novel design which incorporates a foreground-background descending priority ... the cpu that it is queued onto also keeps a record of that quota. ... task uses up its quota it is decremented one priority level. ...
    (Linux-Kernel)
  • [PATCH] [RSDL 6/6] sched: document rsdl cpu scheduler
    ... Add comprehensive documentation of the RSDL cpu scheduler design. ... +A novel design which incorporates a foreground-background descending priority ... +the cpu that it is queued onto also keeps a record of that quota. ...
    (Linux-Kernel)