qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ffrenchm <ffrench.mathi...@gmail.com>
Subject QPID C++ Broker + persistent store
Date Mon, 23 Feb 2009 15:45:34 GMT

Hello again,

I'm currently using successfully QPid C++ Broker and BDB as message store. I
checkouted the qpid BDB module here :
http://anonsvn.jboss.org/repos/rhmessaging/store/trunk/cpp/

I've two questions : 

1) I would like to know how I can disable the debug trace when I use the BDB
persisent store in QPid (I've to much traces like bellow and it's realy not
good for my benchmarks) : 

2009-feb-23 16:34:10 trace RECV [127.0.0.1:60321]: Frame[BEbe; channel=0;
{SessionCompletedBody: commands={ [39936,39993] }; }]
2009-feb-23 16:34:10 debug fd058497-242f-4a1c-be96-425875bef247@guest@QPID:
sender marked completed: { [39936,39993] }
2009-feb-23 16:34:10 debug fd058497-242f-4a1c-be96-425875bef247@guest@QPID:
sender confirmed point moved to (39994+0)
2009-feb-23 16:34:10 trace RECV [127.0.0.1:60321]: Frame[BEbe; channel=0;
{MessageAcceptBody: transfers={ [39993,39993] }; }]
2009-feb-23 16:34:10 debug fd058497-242f-4a1c-be96-425875bef247@guest@QPID:
recv cmd 40047: {MessageAcceptBody: transfers={ [39993,39993] }; }
2009-feb-23 16:34:10 debug DeliveryRecord::setEnded() id=39993
2009-feb-23 16:34:10 debug Accepted 39993
2009-feb-23 16:34:10 debug fd058497-242f-4a1c-be96-425875bef247@guest@QPID:
receiver marked completed: 40047 incomplete: { } unknown-completed: {
[1,40047] }
2009-feb-23 16:34:10 trace RECV [127.0.0.1:60321]: Frame[BEbe; channel=0;
{SessionCompletedBody: commands={ [39936,39994] }; }]
2009-feb-23 16:34:10 debug fd058497-242f-4a1c-be96-425875bef247@guest@QPID:
sender marked completed: { [39936,39994] }
2009-feb-23 16:34:10 debug fd058497-242f-4a1c-be96-425875bef247@guest@QPID:
sender confirmed point moved to (39995+0)
2009-feb-23 16:34:10 trace RECV [127.0.0.1:60321]: Frame[BEbe; channel=0;
{MessageAcceptBody: transfers={ [39994,39994] }; }]
2009-feb-23 16:34:10 debug fd058497-242f-4a1c-be96-425875bef247@guest@QPID:
recv cmd 40048: {MessageAcceptBody: transfers={ [39994,39994] }; }
2009-feb-23 16:34:10 debug DeliveryRecord::setEnded() id=39994
2009-feb-23 16:34:10 debug Accepted 39994
2009-feb-23 16:34:10 debug fd058497-242f-4a1c-be96-425875bef247@guest@QPID:
receiver marked completed: 40048 incomplete: { } unknown-completed: {
[1,40048] }
2009-feb-23 16:34:10 trace RECV [127.0.0.1:60321]: Frame[BEbe; channel=0;
{SessionCompletedBody: commands={ [39936,39995] }; }]
2009-feb-23 16:34:10 debug fd058497-242f-4a1c-be96-425875bef247@guest@QPID:
sender marked completed: { [39936,39995] }
2009-feb-23 16:34:10 debug fd058497-242f-4a1c-be96-425875bef247@guest@QPID:
sender confirmed point moved to (39996+0)
2009-feb-23 16:34:10 trace RECV [127.0.0.1:60321]: Frame[BEbe; channel=0;
{MessageAcceptBody: transfers={ [39995,39995] }; }]
2009-feb-23 16:34:10 debug fd058497-242f-4a1c-be96-425875bef247@guest@QPID:
recv cmd 40049: {MessageAcceptBody: transfers={ [39995,39995] }; }
2009-feb-23 16:34:10 debug DeliveryRecord::setEnded() id=39995
2009-feb-23 16:34:10 debug Accepted 39995

2) When I want to get the help of the BDB module I get this :

Store Options:
  --store-dir DIR               Store directory location for persistence 
                                (instead of using --data-dir value).
Required 
                                if --no-data-dir is also used.
  --num-jfiles N (8)            Default number of files for each journal 
                                instance (queue).
  --jfile-size-pgs N (24)       Default size for each journal file in
multiples
                                of read pages (1 read page = 64kiB)
  --wcache-page-size N (32)     Size of the pages in the write page cache in 
                                KiB. Allowable values - powers of 2: 1, 2,
4, 
                                ... , 128. Lower values decrease latency at
the
                                expense of throughput.
  --tpl-num-jfiles N (8)        Number of files for transaction prepared
list 
                                journal instance
  --tpl-jfile-size-pgs N (24)   Size of each transaction prepared list
journal 
                                file in multiples of read pages (1 read page
= 
                                64kiB)
  --tpl-wcache-page-size N (4)  Size of the pages in the transaction
prepared 
                                list write page cache in KiB. Allowable
values 
                                - powers of 2: 1, 2, 4, ... , 128. Lower
values
                                decrease latency at the expense of
throughput.

Where are the options to have synchronous / asynchronous IO ? Did I make a
mistake when downlowding the BDB module ? Is there another one ?

Thanks for all
-- 
View this message in context: http://n2.nabble.com/QPID-C%2B%2B-Broker-%2B-persistent-store-tp2372671p2372671.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message