Question about Swift Storage Nodes CPU usage
Hi all,
For 3 months we have been using Openstack swift in our test environment and while monitoring the CPU usage and I/O traffic on the storage nodes we realized that even at night in which no one makes a request CPU usage is like 40 to 50% on the servers and I/O throughput is higher and expected.
Test environment:
1 node (swift-proxy + keystone)
5 storage nodes (account,container and object servers)
Server specifications:
Virtual machine VMWare
OS: Ubuntu 10.04 64 bit LTS
CPU: 4 cores
RAM: 6 GB
On the storage nodes for each module (account,container and object) auditor,
Configuration files:
account-server.conf
[DEFAULT]
bind_ip = 10.1.1.152
workers = 2
log_facility = LOG_LOCAL1
[pipeline:main]
pipeline = account-server
[app:account-
use = egg:swift#account
[account-
[account-auditor]
[account-reaper]
container-
[DEFAULT]
bind_ip = 10.1.1.152
workers = 2
log_facility = LOG_LOCAL2
[pipeline:main]
pipeline = container-server
[app:container-
use = egg:swift#container
[container-
[container-updater]
[container-auditor]
object-server.conf
[DEFAULT]
bind_ip = 10.1.1.152
workers = 2
log_facility = LOG_LOCAL3
[pipeline:main]
pipeline = object-server
[app:object-server]
use = egg:swift#object
[object-replicator]
[object-updater]
[object-auditor]
rsyncd.conf
uid = swift
gid = swift
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
address = 10.1.1.152
[account]
max connections = 2
path = /srv/node/
read only = false
lock file = /var/lock/
[container]
max connections = 2
path = /srv/node/
read only = false
lock file = /var/lock/
[object]
max connections = 2
path = /srv/node/
read only = false
lock file = /var/lock/
Since we have not run a perfomance test yet i think that the amount of resouce usage is too much and will cause problems during our tests.
From the logs i can only understand that replicator is always run for a short periods of times. What can you recommend for improving our environment?
Thanks
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Fatih Güçlü Akkaya for more information if necessary.