I haven't yet fully understood what the exact goal of your test is, but if you 
just want to hammer your server with SyncML requests, maybe you can replay 
previously recorded requests (from SyncEvolution or another client) with a 
script. Of course you'd need to use a 100% repeatable sync for that, such as a 
slow sync with empty client databases.

On 30.04.2014, at 19:42, Sachin Gupta <ching...@gmail.com> wrote:

> but that will require a lot of client machines that too of higher
> configurations.
> 
> What we are seeing rt now is high cpu usage (even though for a very
> short time period). Trying to debug the cause for the same.
> 
> if i assume that 100 processes can be invoked from one system, then
> also i need ~24 systems :(
> 
> Regards
> 
> On Tue, Apr 29, 2014 at 11:53 PM, Patrick Ohly <patrick.o...@intel.com> wrote:
>> On Tue, 2014-04-29 at 23:22 +0530, Sachin Gupta wrote:
>>> one more thing. everytime i invoke syncevolution, it has to load all
>>> the xmls, build up its data structures, and all the other stuff.
>>> Can i implement threads in it and run it as a daemon. This will i can
>>> save time from doing all this.
>>> 
>>> From within, can i then implement threads and launch multiple sync 
>>> operations?
>> 
>> Multithreading is not going to work. You should be able to run a sync
>> repeatedly in the same process, but reusing the XML loading will require
>> putting the loop fairly deeply into the SyncEvolution stack (see
>> SyncContext.cpp).
>> 
>> I'm still not sure why you want to do this when you can simply use more
>> client machines. It might safe you some time for setting up a cluster if
>> (and only if!) you can manage to run all clients from the same machine,
>> but I have my doubts whether that will be possible.
>> 
>> --
>> Best Regards
>> 
>> Patrick Ohly
>> Senior Software Engineer
>> 
>> Intel GmbH
>> Open Source Technology Center
>> Usenerstr. 5a                           Phone: +49-228-2493652
>> 53129 Bonn
>> Germany
>> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis

Reply via email to