"Order Entry" Stress Test: Measuring Enterprise Class Performance

One complaint that we've historically received regarding our Forums database test was that it isn't strenuous enough for some of the Enterprise customers to make a good decision based on the results.

In our infinite desire to please everyone, we worked very closely with a company that could provide us with a truly Enterprise Class SQL stress application. We cannot reveal the identity of the Corporation that provided us with the application because of non-disclosure agreements in place. As a result, we will not go into specifics of the application, but rather provide an overview of its database interaction so that you can grasp the profile of this application, and understand the results of the tests better (and how they relate to your database environment).

We will use an Order Entry system as an analogy for how this test interacts with the database. All interaction with the database is via stored procedures. The main stored procedures used during the test are:

sp_AddOrder - inserts an Order
sp_AddLineItem - inserts a Line Item for an Order
sp_UpdateOrderShippingStatus - updates a status to "Shipped"
sp_AssignOrderToLoadingDock - inserts a record to indicate from which Loading Dock the Order should be shipped
sp_AddLoadingDock - inserts a new record to define an available Loading Dock
sp_GetOrderAndLineItems - selects all information related to an Order and its Line Items

The above is only intended as an overview of the stored procedure functionality; obviously, the stored procedures perform other validation, and audit operations.

Each Order had a random number of Line Items, ranging from one to three. Also randomized was the Line Items chosen for an order, from a pool of approximately 1500 line items.

Each test was run for 10 minutes and was repeated three times. The average between the three tests was used. The number of Reads to Writes was maintained at 10 reads for every write. We debated for a long while about which ratio of reads to writes would best serve the benchmark, and we decided that there was no correct answer. So, we went with 10.

The application was developed using C#, and all database connectivity was accomplished using ADO.NET and 20 threads - 10 for reading and 10 for inserting.

So, to ensure that IO was not the bottleneck, each test was started with an empty database and expanded to ensure that auto-grow activity did not occur during the test. Additionally, a gigabit switch was used between the client and the server. During the execution of the tests, there were no applications running on the server or monitoring software. Task Manager, Profiler, and Performance Monitor were used when establishing the baseline for the test, but never during execution of the tests.

At the beginning of each platform, both the server and client workstation were rebooted to ensure a clean and consistent environment. The database was always copied to the 8-disk RAID 0 array with no other files present to ensure that file placement and fragmentation was consistent between runs. In between each of the three tests, the database was deleted, and the empty one was copied again to the clean array. SQL Server was not restarted.

SQL Stress Results Order Entry Results
Comments Locked

144 Comments

View All Comments

  • morcegovermelho - Thursday, April 21, 2005 - link

    page 3 "For example, the Opteron 252 and Opteron 852 both run at 2.6GHz, but the 252 is for use in up to 2-way configurations, while the 852 is certified for use in 4- and 8-way configurations. The two chips are identical; it's just that one has been run through additional validation and costs a lot more. "
    I thought that they had different number of HyperTransport (HT) links:
    152 - 1 HT
    252 - 2 HT
    852 - 3 HT
    I thought that was the reason why it was impossible to use two 152s in a two-way motherboard.
    Maybe i'm wrong.
  • faboloso112 - Thursday, April 21, 2005 - link

    great article
  • fungmak - Thursday, April 21, 2005 - link

    #50
    Dual 875s have 4 cores
  • stmok - Thursday, April 21, 2005 - link

    I have waited SOOOOO long! Finally, a reason to dump my dual PIII setups. Next stop, Athlon64 X2!
  • jediknight - Thursday, April 21, 2005 - link

    Can someone explain the huge performance difference between the dual Operaon 252s (2.6GHz) and the dual Opteron 875 (2.2GHz)?

    Since:
    "The two chips are identical; it's just that one has been run through additional validation and costs a lot more"

    I would expect the 252s, running at 400MHz more, would outperform the 875s. Can someone explain this (large) discrepency?
  • snedzad - Thursday, April 21, 2005 - link

    Yes. That's gonna be a four proc-machine. Terrific.

    I am really astonished about whole AMD K8 architecture. And K9 should be 4-core processor architecture.

    Can't wait.

    But, I still won't get a rid of my AX2600 machine.
  • Griswold - Thursday, April 21, 2005 - link

    Ah the brilliant KillerBob.

    Anand used plenty of real world apps for the multitask benchmarks.

    How much more real world testing would you want to go with your (pointless) whining?

  • GoatHerderEd - Thursday, April 21, 2005 - link

    Why is their stock price at a 6 month low? I hope this pulls it up a bit. It would be a shame if they don’t start making a profit.
  • suryad - Thursday, April 21, 2005 - link

    I just am astounded at the performance these first versions of dual core processing that is being presented to us...WOW...couple that with a well written 64 bit OS and it will be even more smoking!! I think AMD did a job extremely well done and I am glad that they are being aggressive in keeping their pockets full with the prices of their chips. I personally dont think that would stop me from buying their processors. I would wait for the FX to become dual core though. A 3 ghz dual core FX would rock so bad!!!

    Also one more thing...so the Tyan mobo holds 2 procs correct? So if we stuck a dual core in 1 socket and another in the other sock...that makes it a 4 proc machine then right?!!
  • bldckstark - Thursday, April 21, 2005 - link

    Thanks for the double post KillerBob. Your statements are as intelligent as your ability to use a keyboard.

Log in

Don't have an account? Sign up now