]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
client: adjust readahead default
authorSage Weil <sage@newdream.net>
Tue, 8 Jul 2008 18:07:44 +0000 (11:07 -0700)
committerSage Weil <sage@newdream.net>
Tue, 8 Jul 2008 18:07:44 +0000 (11:07 -0700)
src/config.cc
src/vstartnew.sh

index 2a869694bd41ab4555d796e84e5e00d8c85f8b75..a1f42b08773ad110c0f855db91f871f3457925e9 100644 (file)
@@ -290,8 +290,8 @@ md_config_t g_conf = {
   client_hack_balance_reads: false,
   client_trace: 0,
   client_readahead_min: 128*1024,  // readahead at _least_ this much.
-  client_readahead_max_bytes: 8 * 1024*1024,
-  client_readahead_max_periods: 2,  // as multiple of file layout period (object size * num stripes)
+  client_readahead_max_bytes: 0,//8 * 1024*1024,
+  client_readahead_max_periods: 4,  // as multiple of file layout period (object size * num stripes)
   fuse_direct_io: 0,
   fuse_ll: true,
   
index 9378b688895e070446cbd910ba5f0e3fee62cf09..0a981c95027e5f87b5ed45f23392b7c559639365 100755 (executable)
@@ -34,7 +34,7 @@ done
 $CEPH_BIN/osdmaptool --clobber --createsimple .ceph_monmap 4 --print .ceph_osdmap # --pgbits 2
 $CEPH_BIN/cmonctl osd setmap -i .ceph_osdmap
 
-for osd in 0 1 2 3 #4 5 6 7 8 9 10 11 12 13 14 15
+for osd in 0 #1 2 3 #4 5 6 7 8 9 10 11 12 13 14 15
 do
  $CEPH_BIN/cosd --mkfs_for_osd $osd dev/osd$osd  # initialize empty object store
  #valgrind --leak-check=full --show-reachable=yes $CEPH_BIN/cosd dev/osd$osd --debug_ms 1 --debug_osd 20 --debug_filestore 10 1>out/o$osd & #--debug_osd 40