rbd export speed limit
Hi,
is there a speed limit option for rbd export? Right now i'm able to produce several SLOW requests from IMPORTANT valid requests while just exporting a snapshot which is not really important.
rbd export runs with 2400MB/s and each OSD with 250MB/s so it seems to block valid normal read / write operations.
Greets,
Stefan
Hi Stefan,
you may be interested in throttle(1) as a side solution with stdout export option. By the way, on which interconnect you have manage to get such speeds, if you mean 'commited' bytes(e.g. not almost empty allocated image)?
Quoted 15 lines · Stefan Priebe
Hi,
is there a speed limit option for rbd export? Right now i'm able to produce several SLOW requests from IMPORTANT valid requests while just exporting a snapshot which is not really important.
rbd export runs with 2400MB/s and each OSD with 250MB/s so it seems to block valid normal read / write operations.
Greets,
Stefan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi,
Am 12.02.2013 21:45, schrieb Andrey Korolyov:
Quoted 2 lines
you may be interested in throttle(1) as a side solution with stdout export option.
What's throttle? Never seen this. Wouldn't it be possible to use tc?
Quoted 2 lines
By the way, on which interconnect you have manage to get such speeds,
Bonded Intel 2x 10GBE
Quoted 2 lines
if you mean 'commited' bytes(e.g. not almost empty allocated image)?
Yes commited images.
Stefan
Quoted 6 lines · Stefan Priebe - Profihost AG
Hi,
Am 12.02.2013 21:45, schrieb Andrey Korolyov:Quoted 2 lines
you may be interested in throttle(1) as a side solution with stdout export option.
What's throttle? Never seen this. Wouldn't it be possible to use tc?
Quoted 7 lines
Quoted 2 lines
By the way, on which interconnect you have manage to get such speeds,
Bonded Intel 2x 10GBE
Quoted 2 lines
if you mean 'commited' bytes(e.g. not almost empty allocated image)?
Yes commited images.
FWIW I'm pretty sure the rbd export is doing a single IO at a time (reading one chunk, 4MB by default). Are there lots of them in parallel, or is a single export operation significantly affecting performance? That would be a bit surprising to me..
sage
Hi,
first sorry i got this totally wrong. The speed is not correct and i mixed this with another operation going on at the same time.
The problem isn't the rbd export in my case it the fstrim issued on all VMs.
This results in writes up to 400Mb/s per OSD and then results in aborted / hanging task in VMs. Is it possible to give trim commands lower priority?
Greets,
Stefan
Am 13.02.2013 17:13, schrieb Sage Weil:
Quoted 22 lines · Stefan Priebe - Profihost AG
Quoted 6 lines
Hi,
Am 12.02.2013 21:45, schrieb Andrey Korolyov:Quoted 2 lines
you may be interested in throttle(1) as a side solution with stdout export option.
What's throttle? Never seen this. Wouldn't it be possible to use tc?
Quoted 7 lines
Quoted 2 lines
By the way, on which interconnect you have manage to get such speeds,
Bonded Intel 2x 10GBE
Quoted 2 lines
if you mean 'commited' bytes(e.g. not almost empty allocated image)?
Yes commited images.
FWIW I'm pretty sure the rbd export is doing a single IO at a time (reading one chunk, 4MB by default). Are there lots of them in parallel, or is a single export operation significantly affecting performance? That would be a bit surprising to me..
sage
Quoted 9 lines · Stefan Priebe
Hi,
first sorry i got this totally wrong. The speed is not correct and i mixed this with another operation going on at the same time.
The problem isn't the rbd export in my case it the fstrim issued on all VMs.
This results in writes up to 400Mb/s per OSD and then results in aborted / hanging task in VMs. Is it possible to give trim commands lower priority?
Is that 400Mb or MB? Measured over the network, or on the disk itself?
I'm wondering if this is a lack of punch support on the kernel..
sage
Quoted 28 lines
Greets,
Stefan
Am 13.02.2013 17:13, schrieb Sage Weil:Quoted 22 lines · Stefan Priebe - Profihost AG
Quoted 6 lines
Hi,
Am 12.02.2013 21:45, schrieb Andrey Korolyov:Quoted 2 lines
you may be interested in throttle(1) as a side solution with stdout export option.
What's throttle? Never seen this. Wouldn't it be possible to use tc?
Quoted 7 lines
Quoted 2 lines
By the way, on which interconnect you have manage to get such speeds,
Bonded Intel 2x 10GBE
Quoted 2 lines
if you mean 'commited' bytes(e.g. not almost empty allocated image)?
Yes commited images.
FWIW I'm pretty sure the rbd export is doing a single IO at a time (reading one chunk, 4MB by default). Are there lots of them in parallel, or is a single export operation significantly affecting performance? That would be a bit surprising to me..
sage
Hi,
Am 13.02.2013 21:21, schrieb Sage Weil:
Quoted 4 lines
Quoted 2 lines
This results in writes up to 400Mb/s per OSD and then results in aborted / hanging task in VMs. Is it possible to give trim commands lower priority?
Is that 400Mb or MB? Measured over the network, or on the disk itself?
Sorry it's MB - so the SSDs get fully utilized meased via /proc/diskstats .
Quoted 1 line
I'm wondering if this is a lack of punch support on the kernel..
I'm using 3.7.7 running XFS.
Greets,
Stefan
Quoted 12 lines · Stefan Priebe
Hi,
Am 13.02.2013 21:21, schrieb Sage Weil:
Quoted 6 lines
Quoted 3 lines
This results in writes up to 400Mb/s per OSD and then results in aborted /
hanging task in VMs. Is it possible to give trim commands lower priority?Is that 400Mb or MB? Measured over the network, or on the disk itself?
Quoted 6 lines
Sorry it's MB - so the SSDs get fully utilized meased via
/proc/diskstats.Quoted 1 line
I'm wondering if this is a lack of punch support on the kernel..
I'm using 3.7.7 running XFS.
Sounds like maybe the client trim is ending up issuing a truly ridiculous number of truncate or trim operations from librbd to the OSDs? Like one for every RADOS block that could exist, or possibly even for each VM disk block? (Perhaps not; I'm not sure how trim got implemented.)
FWIW a full fstrim is not generally an operation you can really do in the background even on a real desktop...so if running it one one or several VMs makes the cluster unusable for all of them, that's a problem, but if it only causes IO trouble for the one which is trimming that'd be not ideal but less of an issue.
-Greg
HI Greg,
Am 13.02.2013 21:38, schrieb Gregory Farnum:
Quoted 9 lines
Quoted 5 lines
Sorry it's MB - so the SSDs get fully utilized meased via
/proc/diskstats.Quoted 1 line
I'm wondering if this is a lack of punch support on the kernel..
I'm using 3.7.7 running XFS.
Sounds like maybe the client trim is ending up issuing a truly ridiculous number of truncate or trim operations from librbd to the OSDs?
Yes for every single unused disk block ;-(
Quoted 3 lines
Like one for every RADOS block that could exist, or possibly even for each VM disk block? (Perhaps not; I'm not sure how trim got implemented.)
I'm pretty sure Disk block...
Quoted 5 lines
FWIW a full fstrim is not generally an operation you can really do in the background even on a real desktop...so if running it one one or several VMs makes the cluster unusable for all of them, that's a problem, but if it only causes IO trouble for the one which is trimming that'd be not ideal but less of an issue.
Yes if you can control this yes if you have no access to the client machines no... or you can just disable trim support - but it's a nice feature for provisioning...
Greets,
Stefan
Quoted 6 lines · Stefan Priebe
Hi,
is there a speed limit option for rbd export? Right now i'm able to produce several SLOW requests from IMPORTANT valid requests while just exporting a snapshot which is not really important.
Quoted 6 lines
rbd export runs with 2400MB/s and each OSD with 250MB/s so it seems to block valid normal read / write operations.
Greets,
Stefan
--
Can confirm this in some specific case - when 0.56.2 and 0.56.3 coexist for a long time, nodes with newer running version can produce such warnings at the beginning of export huge snapshots, not during entire export. And there are real impact on clients - for example I can see messages from watchdog in the KVM guests. For now, I will do an input throttling on export as temporary workaround.