Re: less invocation time with larger data size
fatma elshehri <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
The average time of the call in one client case reached 1350 ms while for two clients case for the same data size it has reached 850 ms (in some cases), for the same data size. Entries of the returned array are of the same class, which is not so complicated it has ,mainly two dimentional array to keep records selected and one other array to keep soem metadata and two simple functions. There are duplications in the array elements inside Regards, Fatma "John McClain - Sun Microsystems, Inc." <[email protected]> wrote: fatma elshehri wrote: > In some cases I found that 2 clients version is 30% faster than 1 client > version for the same daat size, but i can get now that i shoudl take > care of VM warm up. %30 throughput improvement when adding a 2nd client is easily imaginable, even when the server is running on a single CPU. How long was the typical call? > Arguments to these calls is a String object and the return values are an > array of objects (object of my definition). Does this have more effects? Is each entry the array of the same class? How complex is the class? Is there any duplication between array elements (both at the top level or inside)? -- John McClain [email protected] Sun Microsystems, Inc. Burlington, MA And it is that way today. We are tricked by hope into starting companies, beginning books, immigrating to this country and investing in telecom networks. The challenges turn out to be tougher than we imagined. Our excessive optimism is exposed. New skills are demanded. But nothing important was ever begun in a prudential frame of mind. - David Brooks -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected] --------------------------------- Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]