Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6241427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:46:00+00:00 2026-05-24T11:46:00+00:00

not sure if this question should be here or in serverfault, but it’s java-related

  • 0

not sure if this question should be here or in serverfault, but it’s java-related so here it is:

I have two servers, with very similar technology:

  • server1 is Oracle/Sun x86 with dual x5670 CPU (2.93 GHz) (4 cores each), 12GB RAM.
  • server2 is Dell R610 with dual x5680 CPU (3.3 GHz) (6 cores each), 16GB RAM.

both are running Solaris x86, with exact same configuration.

both have turbo-boost enabled, and no hyper-threading.

server2 should therefore be SLIGHTLY faster than server1.

I’m running the following short test program on the two platforms.

import java.io.*;

public class TestProgram {

public static void main(String[] args) {
    new TestProgram ();
}

public TestProgram () {
    try {
        PrintWriter writer  = new PrintWriter(new FileOutputStream("perfs.txt", true), true);

        for (int i = 0; i < 10000; i++) {
            long t1 = System.nanoTime();
            System.out.println("0123456789qwertyuiop0123456789qwertyuiop0123456789qwertyuiop0123456789qwertyuiop");
            long t2 = System.nanoTime();

            writer.println((t2-t1));

            //try {
            //  Thread.sleep(1);
            //}
            //catch(Exception e) {
            //  System.out.println("thread sleep exception");
            //}
        }
    }
    catch(Exception e) {
        e.printStackTrace(System.out);
    }
}
}

I’m opening perfs.txt and averaging the results, I get:

  • server1: average = 1664 , trim 10% = 1615
  • server2: average = 1510 , trim 10% = 1429

which is a somewhat expected result (server2 perfs > server1 perfs).

now, I uncomment the “Thread.sleep(1)” part and test again, the results are now:

  • server1: average = 27598 , trim 10% = 26583
  • server2: average = 52320 , trim 10% = 39359

this time server2 perfs < server1 perfs

that doesn’t make any sense to me…

obviously I’m looking at a way to improve server2 perfs in the second case. there must be some kind of configuration that is different, and I don’t know which one.
OS are identical, java version are identical.

could it be linked to the number of cores ?
maybe it’s a BIOS setting ? although BIOS are different (AMI vs Dell), settings seem pretty similar.

I’ll update the Dell’s BIOS soon and retest, but I would appreciate any insight…

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T11:46:01+00:00Added an answer on May 24, 2026 at 11:46 am

    I actually updated the BIOS on the DELL R610 and ensured all BIOS CPU parameters are adjusted for best low-latency performances (no hyper-threading, etc…).
    it solved it. The performances with & without the Thread.sleep make sense, and the overall performances of the R610 in both cases are much better than the Sun.
    It appears the original BIOS did not make a correct or a full usage of the nehalem capabilities (while the Sun did).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm not sure whether this question belongs on StackOverflow or SuperUser, but here goes
I see this question here on SO but I am not sure that answers
(I'm not sure if this should be asked here or SU.. but seeing this
Im not sure if this question is appropriate to go in here but after
Not sure if this is a SO, SuperUser or ServerFault question, but I just
I'm not even sure how I should phrase this question. I'm passing some CustomStruct
I'm not sure if this question is appropriate for SO, but I'm sure a
I'm not sure if this question fits properly, but I'm wondering in tile-based games,
Not sure this is a programming question, but we use LaTeX for all our
I'm not sure this question has the best of titles but I'm not sure

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.