CEPHFS rasize

SeyedGH

Active Member
Sep 15, 2018
10
0
41
41
Hi ,
Is there anyway to change read ahead of the cephfs.

According :
docs.ceph.com/docs/master/man/8/mount.ceph/
and :
lists.ceph.com/pipermail/ceph-users-ceph.com/2016-November/014553.html
(could not place hyper link - new user)

this is should be improve reading single large files.

right now default value is being used which can be checked with
Code:
cat /sys/class/bdi/ceph-*/read_ahead_kb

which is 8mb

I would like to raise this amount.

I am kind of new to ceph and proxmox.

Thanks in advance!
 
Last edited:
You should be able to use the 'options' keyword on your storage entry in '/etc/pve/storage.cfg' and set the rasize there.
 
I tried:

cephfs: backup
path /mnt/pve/backup
content backup
maxfiles 10
rasize 16384

and:

cephfs: backup
path /mnt/pve/backup
content backup
maxfiles 10
options rasize 16384

anything doing wrong here?
 
options rasize 16384
rasize=16384, these options are just added as they are to the mount.

EDIT: the value is taken as one string, eg. 'rasize=16384,wsize=16384'