Skip to content
This repository was archived by the owner on Jan 7, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Cetune - A Ceph deplyment, benchmarking, tuning, profiling tool developed by Intel

#### Functionality Description
#### Description
- CeTune is a toolkit/framework to deploy, benchmark, profile and tune *Ceph cluster performance.
- Aim to speed up the procedure of benchmarking *Ceph performance, and provide clear data charts of system metrics, latency breakdown data for users to analyze *Ceph performance.
- CeTune provides test performance through three interfaces: block, file system and object to evaluate *Ceph.
Expand Down
6 changes: 3 additions & 3 deletions analyzer/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def process_data(self, use_tmp):

all_node = []
for node in self.cluster["osds"] + self.cluster["client"]:
common.printout("LOG","note "+ node + " start analysis")
common.printout("LOG","node "+ node + " start analysis")
common.scp(self.cluster["user"],node,remote_file,self.cluster["tmp_dir"])
common.scp(self.cluster["user"],node,remote_file1,self.cluster["tmp_dir"])
common.scp(self.cluster["user"],node,remote_file2,self.cluster["tmp_dir"])
Expand All @@ -158,7 +158,7 @@ def process_data(self, use_tmp):
p.start()
all_node.append((p,node))

common.printout("LOG","waiting for all note finish analysis")
common.printout("LOG","waiting for all nodes to finish analysis")
log_line = {}
while(1):
for proc,node in all_node:
Expand All @@ -174,7 +174,7 @@ def process_data(self, use_tmp):
break
time.sleep(1)

common.printout("LOG","all note finish analysis")
common.printout("LOG","all nodes finish analysis")
common.printout("LOG","Merging node process.")
for dir_name in self.cluster["osds"] + self.cluster["client"]:
system_file = os.path.join(self.workpath,dir_name+"-system.json")
Expand Down
6 changes: 6 additions & 0 deletions benchmarking/mod/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ def run(self):

#send command to ceph cluster
common.pdsh(user, nodes, "for i in `seq 1 %d`;do echo `date \"+%s\"` `ceph health` >> %s/`hostname`_ceph_health.txt; sleep %s;done" % (time_tmp/int(monitor_interval)+1, "%Y_%m_%d %H:%M:%S", dest_dir, monitor_interval), option="force")
common.pdsh(user, nodes, "cat /proc/cpuinfo > %s/`hostname`_HWINFO_CPU.txt" % (dest_dir))
common.pdsh(user, nodes, "free -m > %s/`hostname`_HWINFO_meomory.txt" % (dest_dir))
common.pdsh(user, nodes, "ifconfig > %s/`hostname`_HWINFO_NIC.txt" % (dest_dir))
common.pdsh(user, nodes, "ip link show > %s/`hostname`_HWINFO_iplink.txt" % (dest_dir))
common.pdsh(user, nodes, "fdisk -l > %s/`hostname`_HWINFO_fdisk.txt" % (dest_dir))
common.pdsh(user, nodes, "ps aux | grep ceph-osd | grep -v 'grep' > %s/`hostname`_ps.txt" % (dest_dir))
common.pdsh(user, nodes, "date > %s/`hostname`_process_log.txt" % (dest_dir))
common.printout("LOG","Start system data collector under %s " % nodes)
Expand All @@ -172,6 +177,7 @@ def run(self):
common.pdsh(user, nodes, "iostat -p ALL -dxm %s > %s/`hostname`_iostat.txt & echo `date +%s`' iostat start' >> %s/`hostname`_process_log.txt" % (monitor_interval, dest_dir, '%s', dest_dir))
common.pdsh(user, nodes, "sar -A %s > %s/`hostname`_sar.txt & echo `date +%s`' sar start' >> %s/`hostname`_process_log.txt" % (monitor_interval, dest_dir, '%s', dest_dir))
common.pdsh(user, nodes, "ceph -v > %s/`hostname`_ceph_version.txt" % (dest_dir))
common.pdsh(user, nodes, "ceph osd tree > %s/`hostname`_ceph_osdtree.txt" % (dest_dir))
if "perfcounter" in self.cluster["collector"]:
common.printout("LOG","Start perfcounter data collector under %s " % nodes)
self.create_admin_daemon_dump_script(dest_dir, time_tmp, monitor_interval)
Expand Down
14 changes: 14 additions & 0 deletions doc/release-notes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

=============
Release Notes
=============

v1.0

This is the first stable release of CeTune.

Major feature
-----------------------
-*Deploy*: