Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Items of Op-Type changed after workloads were archived and loaded again #393

Open
kevin-wyx opened this issue Nov 19, 2019 · 0 comments
Open

Comments

@kevin-wyx
Copy link

CentOS Linux release 7.3.1611 (Core)

cosbench version: 0.4.2

Object Storage API: S3

The items of Op-Type column in the General Report were changed after I archived all the workloads and reloaded them again.

Before

image

After archived and reloaded again
image

config file attatched here

<?xml version="1.0" encoding="UTF-8"?>
<workload name="s3-sample" description="sample benchmark for s3" config="">
    <auth type="none"/>
    <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
    <workflow config="">
        <workstage name="init_create_bucket" closuredelay="0" config="">
            <auth type="none"/>
            <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
            <work name="init" type="init" workers="1" interval="5"
                division="container" runtime="0" rampup="0" rampdown="0"
                afr="0" totalOps="1" totalBytes="0" config="cprefix=testprefix;containers=r(1,2)">
                <auth type="none"/>
                <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
                <operation type="init" ratio="100" division="container"
                    config="cprefix=testprefix;containers=r(1,2);cprefix=testprefix;containers=r(1,2);cprefix=testprefix;containers=r(1,2);objects=r(0,0);sizes=c(0)B;cprefix=testprefix;containers=r(1,2)" id="op1"/>
            </work>
        </workstage>
        <workstage name="prepare" closuredelay="0" config="">
            <auth type="none"/>
            <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
            <work name="prepare" type="prepare" workers="100"
                interval="5" division="object" runtime="0" rampup="0"
                rampdown="0" afr="0" totalOps="100" totalBytes="0" config="cprefix=testprefix;containers=r(1,2);objects=r(1,10000);sizes=c(128)KB">
                <auth type="none"/>
                <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
                <operation type="prepare" ratio="100" division="object"
                    config="cprefix=testprefix;containers=r(1,2);objects=r(1,10000);sizes=c(128)KB;cprefix=testprefix;containers=r(1,2);objects=r(1,10000);sizes=c(128)KB;cprefix=testprefix;containers=r(1,2);objects=r(1,10000);sizes=c(128)KB;createContainer=false;cprefix=testprefix;containers=r(1,2);objects=r(1,10000);sizes=c(128)KB" id="op1"/>
            </work>
        </workstage>
        <workstage name="put 128KB data with 256 workers"
            closuredelay="0" config="">
            <auth type="none"/>
            <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
            <work name="Put64KBData1" type="normal" workers="256"
                interval="5" division="none" runtime="0" rampup="0"
                rampdown="0" afr="200000" totalOps="20000"
                totalBytes="0" config="">
                <auth type="none"/>
                <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
                <operation type="write" ratio="100" division="none"
                    config="cprefix=testprefix;oprefix=1000wks_128k;containers=c(1);objects=s(1,10000);sizes=c(128)KB" id="op1"/>
            </work>
        </workstage>
        <workstage name="get 128KB data with 256 workers"
            closuredelay="0" config="">
            <auth type="none"/>
            <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
            <work name="Get64KBData" type="normal" workers="256"
                interval="5" division="none" runtime="0" rampup="0"
                rampdown="0" afr="200000" totalOps="20000"
                totalBytes="0" config="">
                <auth type="none"/>
                <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
                <operation type="read" ratio="100" division="none"
                    config="cprefix=testprefix;oprefix=1000wks_128k;containers=c(1);objects=s(1,10000)" id="op1"/>
            </work>
        </workstage>
        <workstage name="main" closuredelay="0" config="">
            <auth type="none"/>
            <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
            <work name="main" type="normal" workers="256" interval="5"
                division="none" runtime="0" rampup="0" rampdown="0"
                afr="200000" totalOps="20000" totalBytes="0" config="">
                <auth type="none"/>
                <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
                <operation type="read" ratio="80" division="none"
                    config="cprefix=testprefix;containers=u(1,2);objects=u(1,5000)" id="op1"/>
                <operation type="write" ratio="20" division="none"
                    config="cprefix=testprefix;containers=u(1,2);objects=u(5001,10000);sizes=c(128)KB" id="op2"/>
            </work>
        </workstage>
        <workstage name="cleanup" closuredelay="0" config="">
            <auth type="none"/>
            <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
            <work name="cleanup" type="cleanup" workers="100"
                interval="5" division="object" runtime="0" rampup="0"
                rampdown="0" afr="0" totalOps="100" totalBytes="0" config="cprefix=testprefix;containers=r(1,2);objects=r(1,10000)">
                <auth type="none"/>
                <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
                <operation type="cleanup" ratio="100" division="object"
                    config="cprefix=testprefix;containers=r(1,2);objects=r(1,10000);cprefix=testprefix;containers=r(1,2);objects=r(1,10000);cprefix=testprefix;containers=r(1,2);objects=r(1,10000);deleteContainer=false;cprefix=testprefix;containers=r(1,2);objects=r(1,10000)" id="op1"/>
            </work>
        </workstage>
        <workstage name="dispose" closuredelay="0" config="">
            <auth type="none"/>
            <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
            <work name="dispose" type="dispose" workers="1" interval="5"
                division="container" runtime="0" rampup="0" rampdown="0"
                afr="0" totalOps="1" totalBytes="0" config="cprefix=testprefix;containers=r(1,2)">
                <auth type="none"/>
                <storage type="s3" config="accesskey=ak;secretkey=sk;endpoint=http://myserver.com"/>
                <operation type="dispose" ratio="100"
                    division="container"
                    config="cprefix=testprefix;containers=r(1,2);cprefix=testprefix;containers=r(1,2);cprefix=testprefix;containers=r(1,2);objects=r(0,0);sizes=c(0)B;cprefix=testprefix;containers=r(1,2)" id="op1"/>
            </work>
        </workstage>
    </workflow>
</workload>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant