Page 1 of 1

Not all entries in SYSCTL being implemented

PostPosted: Feb 29th, '12, 05:18
by louielouie
New mb, cpu & hd deserves new Linux distro and my sysctl.conf was copied directly from my Mandriva 2010.2 distro and now two entries do not get updated on boot but I can "sysctl -p sysctl.conf" and they will be updated:

vm.swappiness = 100

vm.dirty_ratio = 35
vm.dirty_background_ratio = 20

net.core.rmem_default = 8388608
net.core.rmem_max = 8388608
net.core.wmem_default = 8388608
net.core.wmem_max = 8388608
net.ipv4.tcp_rmem = 4096 87830 8388608
net.ipv4.tcp_wmem = 4096 87830 8388608
net.ipv4.ipfrag_low_thresh = 262144
net.ipv4.ipfrag_high_thresh = 393216

Those two settings really help XFS or JFS (during benchmarking for database) so I was wondering if this has been noticed before and is there something I can do to fix it? I didn't find anything useful searching on 'sysctl'.

Re: Not all entries in SYSCTL being implemented

PostPosted: Mar 1st, '12, 07:15
by louielouie
I checked Mageia 2 which does not seem to have the feature and I checked the sysctl.conf for any odd characters with hexedit so I'm kinda confused. Perhaps I'll try a different order...

Re: Not all entries in SYSCTL being implemented

PostPosted: Mar 1st, '12, 12:43
by doktor5000
Why not just put a call for "sysctl -p" in /etc/rc.d/rc.local as a workaround?

Re: Not all entries in SYSCTL being implemented

PostPosted: Mar 3rd, '12, 07:03
by louielouie
I have for now. I'll jump to Mageia2 later.

Re: Not all entries in SYSCTL being implemented

PostPosted: Mar 3rd, '12, 19:30
by doktor5000