Quantcast

Question about Bandwidth calculation

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Question about Bandwidth calculation

trentt
Hi,

I have a question about how bandwidth is calculated.  Based on the UserGuide, Bandwidth is calculated by dividing total
bytes transferred by total run time.

test result
=====

Start At: 6:34:44 AM     Stopped At:  6:54:23 AM

Op-Type     Op-Count       Byte-Count     Avg-ResTime     Avg-ProcTime    Throughput     Bandwidth    Succ-Ratio
  read      124.05 kops      127.03GB        75.66ms             5.3ms           206.78 op/s    211.74 MB/S   98.83%

Based on the test result
----------------------------
20 minutes = 1200 seconds         127GB = 1270000000000 bytes

1270000000000/1200 = 1058333333 bytes /s   As you can see..it doesn't match 211.74 MB/S from the final report.  

Am I missing something?  Can someone please explain?

Thanks

Trent



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Question about Bandwidth calculation

jrgruher

Look like your results are being calculated on a 600 sec run.  Did you run two 10 min phases in a row?  Can you post your workload file?

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Question about Bandwidth calculation

ywang19
Administrator
In reply to this post by trentt
Trentt,

The 20 mins is the TOTAL time, and I assume you have other stages like init/prepare/cleanup/dispose beside the main stage. Pasting workload file would be better to help explain.


-yaguang
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Question about Bandwidth calculation

trentt
here is my workload

<?xml version="1.0" encoding="UTF-8"?>
<workload name="workload" description="workload description">
    <auth type="swauth" config="username=test:tester;password=testing;url=http://cos-cf/auth/v1.0"/>
    <storage type="swift" config=""/>
    <workflow>
        <workstage name="init" closuredelay="0">
            <auth type="swauth" config="username=test:tester;password=testing;url=http://cos-cf/auth/v1.0"/>
            <storage type="swift" config=""/>
            <work name="init" type="init" workers="1" interval="5"
                division="container" runtime="0" rampup="0" rampdown="0"
                totalOps="1" totalBytes="0" afr="0" config="containers=r(100,199)">
                <auth type="swauth" config="username=test:tester;password=testing;url=http://cos-cf/auth/v1.0"/>
                <storage type="swift" config=""/>
                <operation type="init" ratio="100" division="container"
                    config="objects=r(0,0);sizes=c(0)B;containers=r(100,199)" id="op1"/>
            </work>
        </workstage>
        <workstage name="prepare" closuredelay="0">
            <auth type="swauth" config="username=test:tester;password=testing;url=http://cos-cf/auth/v1.0"/>
            <storage type="swift" config=""/>
            <work name="prepare" type="prepare" workers="250"
                interval="5" division="object" runtime="0" rampup="0"
                rampdown="0" totalOps="250" totalBytes="0" afr="0" config="containers=r(100,199);objects=r(1,500);sizes=c(1024)KB">
                <auth type="swauth" config="username=test:tester;password=testing;url=http://cos-cf/auth/v1.0"/>
                <storage type="swift" config=""/>
                <operation type="prepare" ratio="100" division="object"
                    config="createContainer=false;containers=r(100,199);objects=r(1,500);sizes=c(1024)KB" id="op1"/>
            </work>
        </workstage>
        <workstage name="w(1024)KB_c100_o500_r100w0d0_16" closuredelay="30">
            <auth type="swauth" config="username=test:tester;password=testing;url=http://cos-cf/auth/v1.0"/>
            <storage type="swift" config=""/>
            <work name="main" type="normal" workers="16" interval="5"
                division="none" runtime="600" rampup="100" rampdown="0"
                totalOps="0" totalBytes="0" afr="0">
                <auth type="swauth" config="username=test:tester;password=testing;url=http://cos-cf/auth/v1.0"/>
                <storage type="swift" config=""/>
                <operation type="read" ratio="100" division="none"
                    config="containers=u(100,199);objects=u(1,500)" id="op1"/>
            </work>
        </workstage>
        <workstage name="cleanup" closuredelay="0">
            <auth type="swauth" config="username=test:tester;password=testing;url=http://cos-cf/auth/v1.0"/>
            <storage type="swift" config=""/>
            <work name="cleanup" type="cleanup" workers="1" interval="5"
                division="object" runtime="0" rampup="0" rampdown="0"
                totalOps="1" totalBytes="0" afr="0" config="containers=r(100,199);objects=r(1,500)">
                <auth type="swauth" config="username=test:tester;password=testing;url=http://cos-cf/auth/v1.0"/>
                <storage type="swift" config=""/>
                <operation type="cleanup" ratio="100" division="object"
                    config="deleteContainer=false;containers=r(100,199);objects=r(1,500)" id="op1"/>
            </work>
        </workstage>
        <workstage name="dispose" closuredelay="0">
            <auth type="swauth" config="username=test:tester;password=testing;url=http://cos-cf/auth/v1.0"/>
            <storage type="swift" config=""/>
            <work name="dispose" type="dispose" workers="1" interval="5"
                division="container" runtime="0" rampup="0" rampdown="0"
                totalOps="1" totalBytes="0" afr="0" config="containers=r(100,199)">
                <auth type="swauth" config="username=test:tester;password=testing;url=http://cos-cf/auth/v1.0"/>
                <storage type="swift" config=""/>
                <operation type="dispose" ratio="100"
                    division="container"
                    config="objects=r(0,0);sizes=c(0)B;containers=r(100,199)" id="op1"/>
            </work>
        </workstage>
    </workflow>
</workload>

Thanks,

Trent
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Question about Bandwidth calculation

ywang19
Administrator
That's it.Your runtime for "read" is 600sec (10 mins), although the total execution time for the workload is 20 mins, the total data transferred and the reported b/w can match.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Question about Bandwidth calculation

wanglixue
In reply to this post by trentt
i have the same question.

not only the Bandwidth but the Throughput have the same problem.


the total run time is ?????????????????
Loading...