Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help setting read_ahead_kb with sysctl on boot.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ReD-BaRoN
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 208

PostPosted: Sun Jul 30, 2006 4:17 am    Post subject: Help setting read_ahead_kb with sysctl on boot. Reply with quote

I'm following the 3Ware instructions (http://www.3ware.com/kb/article.aspx?id=11050) on setting my array's read_ahead_kb setting on boot via sysctl, however it's not working, sysctl is not finding the key. Any ideas here?

In /etc/sysctl.conf I've tried:
Code:
/sys/bus/scsi/drivers/sd/sda/block/queue/read_ahead_kb = 16384
(right out of 3Ware's instructions)
which results in:
Code:
error: ".sys.bus.scsi.drivers.sd.sda.block.queue.read_ahead_kb" is an unknown key

and
Code:
sys/bus/scsi/drivers/sd/sda/block/queue/read_ahead_kb = 16384
(removing the leading / )
which results in:
Code:
error: "sys.bus.scsi.drivers.sd.sda.block.queue.read_ahead_kb" is an unknown key

and
Code:
sys/block/sda/queue/read_ahead_kb = 16384
(which maps to the actual variable)
which results in:
Code:
error: "sys.block.sda.queue.read_ahead_kb" is an unknown key

Any ideas on what the magical incantation I need to use is?

Thanks!
Back to top
View user's profile Send private message
alacheesu
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2005
Posts: 113

PostPosted: Sun Jul 30, 2006 7:10 am    Post subject: Reply with quote

Just a thought.. have you tried removing "sys"? Looking through my own sysctl.conf i notice that, f.ex.

Code:
/proc/sys/net/ipv4/conf/all/accept_redirects


has the token..

Code:
net.ipv4.conf.all.accept_redirect
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum