Hi RHEL/CentOS users,
This is just a heads up that we observe slow requests during the RHEL6.6 
upgrade. The upgrade includes selinux-policy-targeted, which runs this during 
the update:

   /sbin/restorecon -i -f - -R -p -e /sys -e /proc -e /dev -e /mnt -e /var/tmp 
-e /home -e /tmp -e /dev
   
restorecon is scanning every single file on the OSDs, e.g. from strace:

...
lstat("rbd\\udata.1b9d8d42be29bd3.000000000003e430__head_052DF076__4", 
{st_mode=S_IFREG|0644, st_size=4194304, ...}) = 0
lstat("rbd\\udata.1c2064583a15ea.00000000000a8553__head_4B4DF076__4", 
{st_mode=S_IFREG|0644, st_size=4194304, ...}) = 0
lstat("rbd\\udata.1c20d893e777ea0.000000000007ee23__head_2FDDF076__4", 
{st_mode=S_IFREG|0644, st_size=4194304, ...}) = 0
lstat("rbd\\udata.1e02d691ddaefb.000000000000437c__head_1FADF076__4", 
{st_mode=S_IFREG|0644, st_size=4194304, ...}) = 0
...

and it is using a default (be/4) io priority:

65567 be/4 root      768.61 K/s    0.00 B/s  0.00 %  0.00 % restorecon -i -f - 
-R -p -e /sys -e /proc -e /dev -e /mnt -e /var/tmp -e /home -e /tmp -e /dev

I’m going to submit a ticket about this in case our RedHat friends want to 
follow up.

Cheers, Dan
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to