Hi Surya
There's definitely something weird with your set up, I just tried:
./qpid-perftest --tcp-nodelay --sync-publish=true --durable=true
on my laptop and got:
Processing 1 messages from qpid-perftest_sub_ready . done.
Sending start 1 times to qpid-perftest_pub_start
Processing 1 messages from qpid-perftest_pub_done . done.
Processing 1 messages from qpid-perftest_sub_done . done.
Total 1000000 transfers of 1024 bytes in 81.4979 seconds.
Publish transfers/sec:
6140.81
Average: 6140.81
Subscribe transfers/sec:
6134.99
Average: 6134.99
Total transfers/sec: 12270.3
Total Mbytes/sec: 11.9827
I've got a hunch......... what sort of filesystem are you using? A while
back when I first started using Qpid and I first installed the
persistence module I had loads of frustration until I realised that my
home directory was an encrypted filesystem :-) when I pointed
"--data-dir" onto an ordinary partition things behaved. Now I can't
remember if things just ran slowly or failed in my case, but as you're
seeing weirdness when you add --durable=true it's a pretty good chance
that your issue is filesystem related.
Is your --data-dir pointing to a plain old local disk or something more
exotic?
BTW I notice you're doing "sudo ./qpid-perftest" using sudo for this
seems unwise you should check your install if you're needing to run qpid
things as root.
Also have you got a good reason for needing "--sync-publish=true" that
generally hoses performance so I'd try to avoid it unless you really
really have to use it, transacting batches of messages might be more
efficient if you can tolerate at least once semantics.
Frase
surya prakash wrote:
Hi,
Thanks for reply.I tried what ever you mentioned in previous only
,there is no problem if ant of the option in sync-publish,durable is
false.only the problem is coming when two are true .I am pasting you the
result which i am getting for the options. Please check and help me to
solve this problem
a) sudo ./qpid-perftest --sync-publish=false --durable=true
Processing 1 messages from qpid-perftest_sub_ready . done.
Sending start 1 times to qpid-perftest_pub_start
Processing 1 messages from qpid-perftest_pub_done .
done.
Processing 1 messages from qpid-perftest_sub_done . done.
Total 1000000 transfers of 1024 bytes in 25.1708 seconds.
Publish transfers/sec:
19894.5
Average: 19894.5
Subscribe transfers/sec:
20356
Average: 20356
Total transfers/sec: 39728.7
Total Mbytes/sec: 38.7975
================================================================
b)sudo ./qpid-perftest --sync-publish=false --durable=true
Processing 1 messages from qpid-perftest_sub_ready . done.
Sending start 1 times to qpid-perftest_pub_start
Processing 1 messages from qpid-perftest_pub_done .
done.
Processing 1 messages from qpid-perftest_sub_done . done.
Total 1000000 transfers of 1024 bytes in 25.1197 seconds.
Publish transfers/sec:
19905.5
Average: 19905.5
Subscribe transfers/sec:
20266.1
Average: 20266.1
Total transfers/sec: 39809.3
Total Mbytes/sec: 38.8763
==============================================================
c) sudo ./qpid-perftest --sync-publish=false --durable=false
Processing 1 messages from qpid-perftest_sub_ready . done.
Sending start 1 times to qpid-perftest_pub_start
Processing 1 messages from qpid-perftest_pub_done .
done.
Processing 1 messages from qpid-perftest_sub_done . done.
Total 1000000 transfers of 1024 bytes in 10.503 seconds.
Publish transfers/sec:
51003
Average: 51003
Subscribe transfers/sec:
47423.6
Average: 47423.6
Total transfers/sec: 95210.6
Total Mbytes/sec: 92.9791
=============================================================
d) sudo ./qpid-perftest --tcp-nodelay --sync-publish=true --durable=true
--count=100
Processing 1 messages from qpid-perftest_sub_ready . done.
Sending start 1 times to qpid-perftest_pub_start
Processing 1 messages from qpid-perftest_pub_done .
done.
Processing 1 messages from qpid-perftest_sub_done . done.
Total 200 transfers of 1024 bytes in 99.7813 seconds.
Publish transfers/sec:
1.00256
Average: 1.00256
Subscribe transfers/sec:
1.01225
Average: 1.01225
Total transfers/sec: 2.00438
Total Mbytes/sec: 0.00195741
Best Regards,
surya
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]