Not all entries in SYSCTL being implemented

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Not all entries in SYSCTL being implemented

Postby louielouie » Feb 29th, '12, 05:18

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'.
louielouie
 
Posts: 30
Joined: Feb 29th, '12, 05:05
Location: 42.214014, -122.83402

Re: Not all entries in SYSCTL being implemented

Postby louielouie » Mar 1st, '12, 07:15

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...
louielouie
 
Posts: 30
Joined: Feb 29th, '12, 05:05
Location: 42.214014, -122.83402

Re: Not all entries in SYSCTL being implemented

Postby doktor5000 » Mar 1st, '12, 12:43

Why not just put a call for "sysctl -p" in /etc/rc.d/rc.local as a workaround?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Not all entries in SYSCTL being implemented

Postby louielouie » Mar 3rd, '12, 07:03

I have for now. I'll jump to Mageia2 later.
louielouie
 
Posts: 30
Joined: Feb 29th, '12, 05:05
Location: 42.214014, -122.83402

Re: Not all entries in SYSCTL being implemented

Postby doktor5000 » Mar 3rd, '12, 19:30

Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest