Wednesday, April 9, 2014

Re: [LINUX_Newbies] experiences with nice

 

good morning
how can I use the

cpu eater?

gedit
gimp
claws
tb

all they need only a few energy on the cpu.

The eaters are

the browsers special ff.

regards
sophie

flash is blocked

Am 05.04.2014 07:59, schrieb Cameron Simpson:
> On 05Apr2014 07:30, highskywhy@yahoo.de <highskywhy@yahoo.de> wrote:
> > So yesterday I started all software with nice
> >
> > nice gedit
> > nice firefox
> > nice chrome
> > nice thunderbird and so on
> >
> > I expected
> > now all is more
> >
> > slow
> > and more relaxed.
> >
> > BUT
> >
> > all is now
> > more fast and more relaxed.
> >
> > Is this true or is this my imagination?
>
> Could be your imagination, but possibly not.
>
> Firstly, niceness does not slow things down.
> It arranges that when multiple processes want CPU, the ones with
> higher "nice" values get a smaller share of the CPU.
>
> So if everything is niced, they should all get the same share of
> the CPU as if nothing were niced.
>
> Also, if you aren't using much CPU, then the niceness has little
> effect because everyone gets enough CPU anyway.
>
> HOWEVER, you haven't started everything with nice.
> In particular, your desktop window system is _not_ reniced.
> Only the main applications you're running (firefox etc) are nicer.
>
> This means that IF you are using most of your CPUs, then the desktop
> window system will get more CPU than your applications (other things
> being equal - assuming they both want CPU at the same time).
>
> It is _possible_ that this results in smoother "feel" of your
> desktop, because it gets more CPU and the apps less CPU: that makes
> it render faster (assuing it was being slowed up before) and makes
> them ask for things to render less (because they get less CPU to
> cause changes).
>
> It bears repeating that this situation is unusual unless you really
> are running something intensive (converting video file formats or
> something). If you see smoother behaviour by renicing your apps,
> then there is not enough CPU going around. On a modern machine,
> that often means something is wrong.
>
> Your other post about firefox and chrome using 70% and 80% or the
> CPU may be indicative. Try to find out what is using your CPU, and
> then find out why. If it is a browser, probably it is a plugin like
> adobe flash. If you don't know, open top in one window and carefully
> close browser windows one at a time until top shows the browser
> sudden using less CPU.
>
> Here, "carefully" means: pay attention to what is on the page before
> you close it. That way, if a particular page stops using the CPU
> you will know which page it was and probably why.
>
> Cheers,
>

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (52)
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
.

__,_._,___

No comments:

Post a Comment