Thread (45 messages) 45 messages, 9 authors, 2011-11-30

Re: [PATCH 2/8] readahead: make default readahead size a kernel parameter

From: Jan Kara <jack@suse.cz>
Date: 2011-11-30 16:09:08
Also in: linux-fsdevel, lkml

On Wed 30-11-11 21:29:28, Wu Fengguang wrote:
quoted
cat /etc/udev/rules.d/60-readahead.rules
# 
 
 

# Rules to set an increased default max readahead size for s390 disk 
devices 
 

# This file should be installed in /etc/udev/rules.d 
 
 

# 
 
SUBSYSTEM!="block", GOTO="ra_end" 

ACTION!="add", GOTO="ra_end" 

# on device add set initial readahead to 512 (instead of in kernel 128) 

KERNEL=="sd*[!0-9]", ATTR{queue/read_ahead_kb}="512" 

KERNEL=="dasd*[!0-9]", ATTR{queue/read_ahead_kb}="512" 
So SLES (@s390 and maybe more) is already shipping with 512kb
readahead size? Good to know this!
  SLES (and openSUSE) since about 2.6.16 times is shipping with 512kb
readahead on everything... With some types of storage it makes a
significant difference.

								Honza
-- 
Jan Kara [off-list ref]
SUSE Labs, CR

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help