Speedup all processes on a 2 or 4 cpu

On kernels from 2.6.27 and further

To speedup the working of all processes as follows:

add to the boot line as grub starts: noirqbalance elevator=cfg

yast2 is more responsif and the processes run on all the cpu’s
not 3 and 1 as with irqbalance

speedup yast2: export aria2c

result: Gkrellm with a load as little as 5% overall i see all the cpu’s working

Appreciate it very much.

Thanks!

yaloki posted on this: /dev/loki: Call for testing openSUSE 11.2 with newer aria2

I do not know enough about this to comment on whether this will speed things up for dual core or a quad core, but I am puzzled by the scheduler I think you are trying to specify with “elevator” . Do you really mean “cfg” ? Or do you mean “cfq” ?

Oldcpu as always You are richt

elevator=cfq

It is automaticly added to boot line in /boot/grub/menu.lst as you set de Schedular with yastcontrol center - system - kernel settings - kernel settings
The other boot parameter you have to add manualy noirqbalance

This info comes from both a ubuntu-site and a arch-site

susegebr wrote:

>
> On kernels from 2.6.27 and further
>
> To speedup the working of all processes as follows:
>
> add to the boot line as grub starts: noirqbalance elevator=cfg

CFQ = Completely Fair Queuing - as of 2.6.18, it is the default
scheduler.


Per Jessen, Zürich (20.9°C)
http://en.opensuse.org/User:Pjessen

should this info be available in our how-to forum or wiki SDB section,
or both??

and, isn’t it strange to have TWO places for great info like this?


Enjoy Packman’s benefits? Show your appreciation by donating at
http://se.unixheads.org/?donate

DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

DenverD wrote:

> should this info be available in our how-to forum or wiki SDB section,
> or both??

Or none? The OP listed no measurable results, the CFQ IO scheduling is
default anyway, and leaving IRQs to be handled by one CPU only might
possibly be useful on a multi-core desktop, but I doubt if it’ll
produce any tangible/real-life results.

> and, isn’t it strange to have TWO places for great info like this?
>

It’s not that unusual - the internet is full of duplication :slight_smile:


Per Jessen, Zürich (26.8°C)
http://en.opensuse.org/User:Pjessen

No, IMHO it should not. When I tried it on my Core i7 I had a speed DECREASE.

Validation is needed, and from what I have seen, such a validation will fail for some PCs.

result of elevator=cfq and noirqbalance

Internet is more stable no disconects from router every so minutes and reconnect
Firefox Chromium Google-chrome Firefox4 all login in less time as before default page
Yast2 refresh repos of 2/3 of the original time
Download updates is quicker installing them near timeless
Starting a program is near instantly
The hole system is more snappy

And keep in mind this is a mdraid 0 system
8 Gb memory
Intel quad 6600 on 2.6 Ghz
Geforce 9500gt 1 gb memory

I’m a big multimedia user.

When I applied “elevator=cfq and noirqbalance” to my Intel Core i7 920 with GBytes of RAM (and nVidia GTX260 video card with proprietary graphic driver), I saw a massive decrease in video playback, which amazed me. Normally the Core i7 will handle 1920x1080 @ 25MB/sec videos with no problem (and I can have other cpu intensive tasks running in the back ground). But with the “elevator=cfq and noirqbalance” settings, a lessor video (1280x720 @ 4MB/sec) played back jerky (to the point of NOT being useful) with NOTHING going on in the background. I tried another different video. Same thing. This was with 3 different video players (xine, vlc, smplayer). I then changed from xv to x11 video output mode. Same thing. This is a pathetic change in performance. ie its a MASSIVE decrease for HD video playback.

I then rebooted and played videos without those settings. Play back was normal with no problem.

Clearly those settings were not compatible with HD video playback on my Intel Core i7 920 with vlc, xine and smplayer.

My recommendation here is: use caution.

susegebr wrote:

>
> result of elevator=cfq and noirqbalance
>
> Internet is more stable no disconects from router every so
> minutes and reconnect

Hmm, same result here (for years) with default settings.

> Firefox Chromium Google-chrome Firefox4 all login in less time
> as before

That’s good, but it would better if you could say how much “less time”
please? If you have a sustained improvement of e.g. 1-2 seconds,
it’s worth talking about.

> default page Yast2 refresh repos of 2/3 of the original time
> Download updates is quicker installing them near timeless

Sorry, if you want quantify, you need to exclude external factors such
as the internet.

> Starting a program is near instantly
> The hole system is more snappy
>
> And keep in mind this is a mdraid 0 system
> 8 Gb memory
> Intel quad 6600 on 2.6 Ghz
> Geforce 9500gt 1 gb memory

I have roughly the same (RAID1, 4Gb, (phenom quad-core) etc etc. - this
has been my development workstation for the last two years. Maybe I’l
try booting with noirqbalance and see there is any noticable
difference.


Per Jessen, Zürich (26.6°C)
http://en.opensuse.org/User:Pjessen