<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class="webkit-block-placeholder"></div><div class=""><span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; border-spacing: 0px;"><div class=""><div class="">Dear All,</div><div class=""><br class=""></div><div class="">in order to test my gluster volume performance, I started using gluster volume top command, but something is not clear to me.</div><div class=""><span style="text-align: -webkit-auto;" class="">If I understand, gluster volume top command doesn’t measure in real time the “weight” of my running workload, but it executed a “dd” and mesaures the corresponding throughput.</span></div><div class=""><br class=""></div><div class="">From the Admin Guide:</div><div class=""><br class=""></div><div class=""><div class=""><i class="">"Viewing List of Write Performance on each Brick</i></div><div class=""><i class=""><br class=""></i></div><div class=""><i class="">You can view list of write throughput of files on each brick. If brick name is not specified, then the metrics of all the bricks belonging to that volume will be displayed. The output will be the write throughput.</i></div><div class=""><span style="text-align: -webkit-auto;" class=""><i class="">This command will initiate a dd for the specified count and block size and measures the corresponding throughput. To view list of write performance on each brick…"</i></span></div></div><div class=""><br class=""></div><div class="">So, I decided to start a first and simple top session like the following one:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[root@s01 ~]# gluster volume top tier2 write-perf bs 4096 count 1000 brick s02-stg:/gluster/mnt3/brick list-cnt 10</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Brick: s02-stg:/gluster/mnt3/brick</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Throughput 1061.97 MBps time 0.0039 secs</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">MBps Filename Time </span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">==== ======== ==== </span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 799 ...l1965_r1i1p1_1966100100-1966103118.nc.Pr1vPz 2017-09-18 17:10:50.593555</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 780 ...l1965_r1i2p1_1966070100-1966073118.nc.1qr0Ad 2017-09-18 16:48:47.266599</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 771 ...l1965_r1i1p1_1967080100-1967083118.nc.HnBJlN 2017-09-18 17:30:19.527468</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 762 ...l1965_r1i2p1_1969090100-1969093018.nc.VJTT7X 2017-09-18 17:17:23.422664</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 753 ...l1970_r1i2p1_1973020100-1973022818.nc.8vLPR6 2017-09-18 19:30:25.582939</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 753 ...l1965_r1i1p1_1974040100-1974043018.nc.bjQbM5 2017-09-18 17:10:50.243065</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 744 ...l1970_r1i2p1_1975030100-1975033118.nc.yL8RkY 2017-09-18 19:30:24.116164</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 744 ...0_r1i1p1_197301010130-197312312230.nc.dusKKg 2017-09-18 19:07:43.755518</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 744 ...l1965_r1i3p1_1971010100-1971013118.nc.NedbLU 2017-09-18 17:02:52.670703</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 736 ...0_r1i2p1_197401010130-197412312230.nc.atE3Uf 2017-09-18 19:01:45.918796</span></div></div><div class=""><br class=""></div><div class="">But in the produced output I see some data files previously saved on the volume and related MBps… and no other temporary file produced by “dd”.</div><div class="">Anyone of you could please explain what does “gluster volume top” command really do and how to use it?</div><div class=""><br class=""></div><div class="">Thank you very much,</div><div class="">Mauro Tridici</div></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><br class=""></div></span></span></div></body></html>