• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Performance Issue

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have a multi threaded server. This server gives excellent performance on Linux but not on Solaris Blade Server. My Solaris Server has very high configurations.

I measure TPS(Transactions per Seconds) on both of the OS. Here, Linux gives 40000 while Sun Solaris gives 8000 TPS.

But I can't figured out what is the actual problem??? Is it OS related problem or something else.

I think if Linux gives me this high performance then no coding issues are there atlease I can expect 15-18k on the Solaris compare to linux.

So, for this problem can anyone please tell me what should I need to do???
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We can't really help you if you don't provide any information.

What does the server do? What are the transactions you are measuring? What is the exact configuration of the two systems (CPU, RAM, disk, network, etc)?

What versions of which operating systems? Which JVMs and what versions?

Knowing that, we can at least make some educated guesses as to what the bottleneck is likely to be.

Either way, profiling your apps to see where the problems lie seems like the logical way to go.
 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy "James_ Ryan"!

I am not sure whether somebody has told this before to you but unfortunately your display name does not follow our naming policy .
Please change the same according to the policy.
 
James Basller
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Dmitri Bichko:
We can't really help you if you don't provide any information.

What does the server do? What are the transactions you are measuring? What is the exact configuration of the two systems (CPU, RAM, disk, network, etc)?

What versions of which operating systems? Which JVMs and what versions?

Knowing that, we can at least make some educated guesses as to what the bottleneck is likely to be.

Either way, profiling your apps to see where the problems lie seems like the logical way to go.




Hi,

My solaris server configurations are
OS: Sun-Blade-T6300
Memory size: 16256 Megabytes
Processors: 32 processors

and Linux machine contains,
Processors: 4
RAM: 8 GB
1 JVM

My server is maximum doing File IO operations means reading files and writing files.

Transactions in the terms of number of records are reading and writing per seconds.

Thanks!!!
 
Dmitri Bichko
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So, if your application is IO-bound, how do the IO systems of the two machines compare? How many, and what type of disks do they have? What's the RAID configuration? What types of controllers? Read/write cache? What filesystems are you using?

Have you benchmarked the two machines for the kind of IO load you expect from your app?
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is merely anecdotal information, so take it with a grain of salt. In my experience, Solaris is extremely conservative in allocating processes CPU time. I can do a build on a Windows XP laptop that takes a minute but the same build on my Solaris 5.9 server will take 5 minutes. Looking at top, there's nothing else happening on the machine (it's dedicated to my project) and there is plenty (~50%) CPU idle.
This makes sense, since Solaris is designed to support a lot of concurrent users. If Solaris allowed one user/process to dominate the CPU, it wouldn't be able to concurrently service others.
You may want to discuss your concerns with a Solaris admin and see if there's any OS configuration that can allocate your server some more power.
 
Sheriff
Posts: 67645
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"James_ Ryan", you have previously been warned on multiple occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional, and this is your final warning. Adjust your display name to comply with the required standards prior to your next post.

Your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. To comply, all you need to do is to remove the spurious underscore character.

Failure to comply will result in the removal of your account.

bear
JavaRanch Sheriff
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

1. Does your program carry out lots of Floating-point operations?. If its Sun cool-threads technology performs very badly with floating-point operations due to their single FP-unit.

2. Can you post the iostat output of both linux and solaris boxes? Adding vmstat would be helpful as well.


~Rajesh.B
 
rajesh bala
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry about the typo..read as

If its Sun cool-threads technology, then it performs very badly with floating-point operations due to their single FP-unit.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic