|
From: Jennifer K. <jk...@si...> - 2004-05-26 15:16:44
|
I ran my java application through optimize-it and looked at the % of time the CPU spent in the Wrapper Manager - which is a static object in my VM since I reference it to call restarts and also to enable and disable monitoring pings. I also ran the WrapperSimpleApp w/ it calling my app under optimize-it. I found that under 3.0.5 the % of time the CPU spent in wrapper code was about 15% under 3.1.0 (with ticktimer on) the % of time the CPU spent in wrapper code was about 38% I then used purify to run the wrapper.exe to look for leaks on that side of things, and I didn't find any particular problems.. Thanks for the memory footprint information and the expected CPU load info. Jennifer On May 26, 2004, at 1:04 AM, Leif Mortenson wrote: > Jennifer, > Memory usage has been going up slightly with each release as new > features are > added. But I try to keep the footprint as small as possible. One > Windows, > 3.1.0 requires around 1700KB this depends on the application and the > output sent > to the console however. Most internal buffers are dynamic. > > There was a slight performance hit in 3.1.0 when processing lots > and lots of console > output. This was caused by a fix to a synchronization problem with > internal buffers > used by the logging system. The hit was very minor however. > What are you doing that you are even able to measure such a change. > Even when sending lots and lots of output to the console the Wrapper > CPU is still > usually down around 1-2% of total load. When there is no output it > always shows > as 0% > > As for the memory of your JVM. The Wrapper requires a slight > amount of > memory on top of what your application would normally use for its own > classes, > but this is quite minor. Your should be able to tune the max memory > value > depending on your application. I have small applications that run in > just a few > MB where setting the max memory to 8MB works just fine. Could probably > even be set to 4MB or so. > > Let me know if I did not answer you. > > Cheers, > Leif > > Jennifer Kolar wrote: > >> For wrapper 3.1.0 and 3.0.5 under Windows 2000-- using sun's JVM >> 1.4.2 what amount of memory do I need to allocate for the >> wrapper itself? >> Should I expect this number to be higher under 3.1.0? >> >> what about CPU usage. what % of CPU usage should I expect w/ default >> configuration parameters? >> I am finding that the CPU load from 3.1.0 is about 20% higher from >> the wrapper than with 3.0.5. >> >> I am running multiple instances of processes wrapped with the wrapper >> and thus can't just allocate a huge amount of memory to each process. >> >> Thanks, >> Jennifer > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle > 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user |