You are not logged in.

#1 2013-12-20 15:19:59

Luckiboy
Member
Registered: 2013-11-22
Posts: 15

Best sysctl settings for a netbook with 1G RAM?

Hi all,

As the title says, what are (based on your experiences) the best sysctl settings for a netbook with 1G of RAM? I now have vm.swappiness=10 and vm.vfs_cache_pressure=50. Should I change these to a lower or higher value? Any other parameters I should add? Let me know!

Thanks for your help.

Luc

Offline

#2 2013-12-20 15:22:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Best sysctl settings for a netbook with 1G RAM?

Offline

#3 2013-12-20 15:26:17

Luckiboy
Member
Registered: 2013-11-22
Posts: 15

Re: Best sysctl settings for a netbook with 1G RAM?

I already read that article, and followed most of it. Should I set my swappiness to 1, then?

Offline

#4 2013-12-20 15:31:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Best sysctl settings for a netbook with 1G RAM?

Yup.

Do you use swap partition / file? How big is it? Do you use zram?

Offline

#5 2013-12-20 15:34:55

Luckiboy
Member
Registered: 2013-11-22
Posts: 15

Re: Best sysctl settings for a netbook with 1G RAM?

Okay, I'll set the swap value to 1. Yes, I have a 1,9G swap partition. I also tried zram, but I didn't really feel a difference in performance, so I removed it.

Last edited by Luckiboy (2013-12-20 15:35:36)

Offline

#6 2013-12-20 15:36:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Best sysctl settings for a netbook with 1G RAM?

How much RAM and swap do you usually use?
Are you having any issues with responsiveness of your system?

Offline

#7 2013-12-20 15:41:21

Luckiboy
Member
Registered: 2013-11-22
Posts: 15

Re: Best sysctl settings for a netbook with 1G RAM?

Generally I use about ~400M RAM, but when idling, it is about 200. The system actually becomes very slow when I leave it on a long time. When I am on Debian, I never experience that.

Offline

#8 2013-12-20 16:31:51

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: Best sysctl settings for a netbook with 1G RAM?

What do you mean when you say "becomes very slow"?
Is it slow in starting programs?


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#9 2013-12-20 16:41:28

Luckiboy
Member
Registered: 2013-11-22
Posts: 15

Re: Best sysctl settings for a netbook with 1G RAM?

Indeed, and also the mouse hangs, the system becomes inresponsive and windows won't move.

Offline

#10 2013-12-27 06:09:10

Deyna
Member
Registered: 2011-08-02
Posts: 4

Re: Best sysctl settings for a netbook with 1G RAM?

Luckiboy wrote:

Indeed, and also the mouse hangs, the system becomes inresponsive and windows won't move.

I find that when X hangs on my netbook just switching out of X with Ctrl+Alt+F1 then back in with Alt+F7 fixes things. Not sure why it happens.

Offline

Board footer

Powered by FluxBB