You are not logged in.

#1 2005-05-18 15:12:20

Greycloack
Member
Registered: 2004-03-05
Posts: 166

Speeding up preformance problems

I read this article : http://www.linuxjournal.com/article/8308
and tried to apply the things it said, I changed the swappiness to 10 and reduced the number of virtual consoles to 2.... just for checking.

After rebooting XDM went on and then the computer froze, I had to boot from cd and edit my conf files back to normal and now it's runing again...

I only did it to try it out but I was wondering why it happened and if anyone else tried it as well....

Offline

#2 2005-05-18 17:59:03

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: Speeding up preformance problems

Greycloack wrote:

I read this article : http://www.linuxjournal.com/article/8308
and tried to apply the things it said, I changed the swappiness to 10 and reduced the number of virtual consoles to 2.... just for checking.

After rebooting XDM went on and then the computer froze, I had to boot from cd and edit my conf files back to normal and now it's runing again...

I only did it to try it out but I was wondering why it happened and if anyone else tried it as well....

interesting tweaks. i just commented out 2 terminals and changed my swappiness to 20, and so far no problems after rebooting. my computer rarely if ever writes to the swap file anyway, though.

how much ram do you have? maybe 10 was too low and you should try going down in smaller increments, 50, 40, 30, etc. until it's stable. same for cutting out the terminals, maybe something's going on with xdm's configuration that's confusing it when there's only 2 terminals. :?:

Offline

#3 2005-05-18 19:35:21

Greycloack
Member
Registered: 2004-03-05
Posts: 166

Re: Speeding up preformance problems

512Mb of ram...
I'll try doing it in stages and see what comes up... will post more on development...

Offline

#4 2005-05-18 20:51:53

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Speeding up preformance problems

Worthless article, that guy doesn't know what he's talking about. Please just ignore it.

Offline

#5 2005-05-18 21:03:39

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Speeding up preformance problems

if you haven't, read this:
http://kerneltrap.org/node/3000

Andrew Morton says setting swappiness too low is bad..... and I think he knows what he's talking about

Offline

#6 2005-05-18 21:52:49

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: Speeding up preformance problems

* sets swappiness back to 60*

big_smile

Offline

#7 2005-05-18 21:58:37

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: Speeding up preformance problems

i3839 wrote:

Worthless article, that guy doesn't know what he's talking about. Please just ignore it.

+1 it did seem a little weird.

when people complain that "linux" is slow, usually they're complaining because they're running bloated GUIs with tons of transparency, all sorts of services they don't need, etc. or else they haven't enabled DMA for their disks or something like that. clean up your gui and 9 times out of 10 you'll have more speed than you would in windows.

it was interesting to learn about swappiness, at least, i'd never heard of that before. big_smile

Offline

#8 2005-05-18 23:22:09

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Speeding up preformance problems

C++ in combination with ELF libraries is bloated and makes it long to load bloated apps. With gcc 4 that will be solved in a lot of places (code change needed).

Offline

Board footer

Powered by FluxBB