sysbench memory test on ec2 small instance

Posted by caribio on Server Fault See other posts from Server Fault or by caribio
Published on 2011-01-08T08:18:20Z Indexed on 2011/01/08 8:56 UTC
Read the original article Hit count: 235

Filed under:
|
|
|
|

I'm seeing a problem with sysbench memory test (the default version that's compiled in). This is on Ubuntu Maverick, sysbench installed via apt-get install sysbench. Running the same thing on Ubuntu @ Rackspace worked just as expected.

While the CPU and I/O tests worked fine on EC2 servers, the memory test just runs without doing anything (notice the 0M in the test results).

The instance used was the publicly available 'stock' Ubuntu image with no changes to it:

./ec2-run-instances ami-ccf405a5 --instance-type m1.small --region us-east-1 --key mykey

Supplying more arguments (such as: --memory-block-size=1K --memory-total-size=102400M) didn't help.

What am I doing wrong? Thanks.

sysbench --num-threads=4 --test=memory run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 4

Doing memory operations speed test
Memory block size: 1K

Memory transfer size: 0M

Memory operations type: write
Memory scope type: global
Threads started!
Done.

Operations performed: 0 (    0.00 ops/sec)

0.00 MB transferred (0.00 MB/sec)


Test execution summary:
    total time:                          0.0003s
    total number of events:              0
    total time taken by event execution: 0.0000
    per-request statistics:
         min:                            18446744073709.55ms
         avg:                                  0.00ms
         max:                                  0.00ms

Threads fairness:
    events (avg/stddev):           0.0000/0.00
    execution time (avg/stddev):   0.0000/0.00

© Server Fault or respective owner

Related posts about amazon-ec2

Related posts about memory