CEPHFS rasize

SeyedGH

New Member
Sep 15, 2018
9
0
1
35
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:

Alwin

Proxmox Staff Member
Staff member
Aug 1, 2017
2,816
247
63
You should be able to use the 'options' keyword on your storage entry in '/etc/pve/storage.cfg' and set the rasize there.
 

SeyedGH

New Member
Sep 15, 2018
9
0
1
35
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?
 

Alwin

Proxmox Staff Member
Staff member
Aug 1, 2017
2,816
247
63
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'
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!