-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Linear hibernate preformance degredation
PostPosted: Tue Oct 21, 2003 12:13 pm 
Newbie

Joined: Tue Oct 21, 2003 11:49 am
Posts: 3
I have a problem that I can't really figure out. My intuition sais some sort of logging problem. But I don't know.

Envoronment:
Hibernate 2.03
Cache: Ja (But gives no real difference in performance)
Linux: RedHat
Java: v1.4.2

The system:
Advanced business system for web shops and administration of orders and so on...
Currently have prox 1000 items in database and 10 customer.

My preformance test is to continously create orders. For each 100 orders created I do a printout. Wicth looks something like following:
------------Created 100 objects tid 115.892 sec
------------Created 100 objects tid 183.202 sec
------------Created 100 objects tid 239.113 sec
------------Created 100 objects tid 321.016 sec
------------Created 100 objects tid 385.821 sec

The real paradox is that I get the same performance timing each time I restart the test program. It's seems to be a linear performance degredation eavenly distributed over the different hibernate functions used by the system. Eaven if the system contains more than 4300 orders when I start the preformance test, the timing still remains the same.

Regards
Christian
Developer at Intermax Sweden AB
www.intermax.se


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 31, 2003 12:18 pm 
Newbie

Joined: Fri Oct 31, 2003 12:02 pm
Posts: 1
Hi,

I would check what JVM garbage collector is doing. You can start your JVM with -verbosegc parameter and look at your standard error output for messages. This may indicate if your GC is working too much. If so, you should experiment with the different memory settings (-Xms, -Xmx). Let me know if this is the problem.

Could you also post which database you are using, and how much memory you use for each component? Could you also monitor what else is happening in the system at the time (mainly database, memory paging etc).

Reagrds,

Dejan


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.