Ceph + Lxc I/O limits

yena

Renowned Member
Nov 18, 2011
373
4
83
Hello, i'm testing I/O limits on Ceph + LXC.

How can i merge this with the relative LXC container ID ? :
---------------------------------------------------------------------------------------------------
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 29.5G 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 256M 0 part
└─sda3 8:3 0 29.3G 0 part
├─pve-root 251:0 0 18.4G 0 lvm /
└─pve-swap 251:1 0 3.6G 0 lvm [SWAP]
sdb 8:16 0 3.7T 0 disk
└─sdb1 8:17 0 3.7T 0 part /var/lib/ceph/osd/ceph-6
sdc 8:32 0 3.7T 0 disk
└─sdc1 8:33 0 3.7T 0 part /var/lib/ceph/osd/ceph-7
sdd 8:48 0 139.8G 0 disk
└─sdd1 8:49 0 5G 0 part
sde 8:64 0 139.8G 0 disk
└─sde1 8:65 0 5G 0 part
sdf 8:80 0 223.6G 0 disk
└─sdf1 8:81 0 223.6G 0 part [SWAP]
rbd0 250:0 0 100G 0 disk
rbd1 250:16 0 60G 0 disk
rbd2 250:32 0 60G 0 disk
rbd3 250:48 0 60G 0 disk
rbd4 250:64 0 60G 0 disk
rbd5 250:80 0 60G 0 disk


----------------------------------------------------------

next i wold like to test:
echo 200 > /sys/fs/cgroup/lxc/container1/blkio.weight
( default is 500 .. so 200 have more priprity? )

and on my container .conf

lxc.cgroup.blkio.throttle.read_iops_device: 250:80 60
lxc.cgroup.blkio.throttle.write_iops_device: 250:80 60

But i can't associate "250:80" with Container ID

In this node i have:
--------------------------------------------------------
MID Status Lock Name
100 stopped TestDebian1
435 running joomla.test.it
441 running vita.test.it
462 running aqua.test.it
484 running cri.test.it
487 running arredo3.test.it
4185 running push.test.it
------------------------------------------------------------

Thanks!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!