[Openstack] [Swift] CPU utilization consistently at 100%

Shrinand Javadekar shrinand at maginatics.com
Thu Apr 2 21:04:51 UTC 2015


Hi,

I have a single node Swift instance. It has 16 cpus, 8 disks and 64GB
memory. As part of testing, I am doing 256 object writes in parallel
for ~10 mins. Each object is also 256K bytes in size.

While my experiment is running, I see that the CPU utilization of the
box is always ~100%. I am trying to understand what is causing this
high CPU utilization. Some of this could be attributed to:

1. MD5 checksum calculation done to verify every PUT.
2. MD5 checksum calculation by the auditor (if it runs during this interval).
3. Hash calculation of the path to decide which partition the object goes to.

Are there any other CPU intensive operations happening on the system
that I should be aware of?

I see that the proxy-server has a "PUT" queue. Is there some
processing of the data in this queue? Would simply putting data in and
out of the queue, streaming the data between the proxy and object
server use considerable CPU?

Thanks in advance.
-Shri




More information about the Openstack mailing list