SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Sizing

  1. #1
    Junior Member
    Join Date
    Nov 2001
    Location
    Richmond
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Sizing

    Hi,
    I'm trying to scale UP Our web server, Application server and DB.
    If I have 100000, 500000 and 1,000,000 custermers what are the machine requirements of:

    1. CPU
    2. Memory
    3. HD
    4. Bandwidth

    I have QA Load Software to perform Load test,
    How many Vusers (25,50 ...250)I need to run?
    What

    Thanks in advance.

    Da

  2. #2
    Member
    Join Date
    Sep 2001
    Location
    Sunnyvale, CA, Santa Clara
    Posts
    394
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Sizing

    DA,

    it depends... (ie on factors like, the predictability of 'workload resource usage characteristics', the workload itself and the 'physical' environment you have to test on, or rather 'how close is this to the 'real world')

    My suggestion to you would be to read this paper (from Microsoft) entitled "Capacity Model for Internet Transactions", it does cover the 3 tier (web/app/db) that you reference.
    http://www.microsoft.com/technet/tre...n/capmodit.asp

    The paper does focus on MS technology but you should get an idea of the overall process needed.

    Also, I am interested, is your question an "in theory" question or are you planning to conduct 'capacity planning' tests for which the target is 100,000 + users/customers?


    Regards

    Ian

    ------------------

  3. #3
    Junior Member
    Join Date
    Nov 2001
    Location
    Richmond
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Sizing

    Hi Scott and Ian

    A thanks for responds. They are really help full for me. I am still puzzling with how I can determine my concurrent user for 100000 customers base business. If I don’t have and any information previously and this test conducting with brand new software and my client have 100000 customers? Only thing is I have to use VU.

    a) How many simultaneous VU I need for 100,000 customers base business.
    b) Ex: If It is correct if I users 50 simultaneous VU for 100000 customers base business.
    c) I can run 50 to 250 simultaneous VU periodically and collecting data from each server (Web Server, Application server and DB (Memory, Disk and CPU))
    d) How Can I calculate best hardware for those servers?

    Can I use same data to calculate hardware need for 1,000,000-costumer bases business?


    (My Software has lots of COM+ object and running on Application server. My Web server is database driven and I have 2 DB, one for web server and other one for actual data)

    I have client, he have 100000 customers in his business. He wants to use my software on his business. Before he take my software I need to find out what the hardware requiremen for my software for his business.

    Thanks
    DA


    ------------------
    Da
    Da

  4. #4
    Senior Member
    Join Date
    Jul 2002
    Location
    Palm Bay, FL USA
    Posts
    2,346
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Sizing

    Please, please, please read the articles. I really think there is information in there that will help you. I'd be happy to work with you and answer questions, but I just don't have it in me to type 30 pages worth of info here.

    ------------------
    Scott Barber
    NOBLE(STAR
    Sr. Performance Engineer
    sbarber@noblestar.com
    http://www.noblestar.com
    http://www.perftestplus.com
    Scott Barber
    Chief Technologist, PerfTestPlus
    Executive Director, Association for Software Testing
    Co-Author, Performance Testing Guidance for Web Applications
    sbarber@perftestplus.com

    If you can see it in your mind...
    you will find it in your life.

  5. #5
    Member
    Join Date
    Sep 2001
    Location
    Sunnyvale, CA, Santa Clara
    Posts
    394
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Sizing

    DA,

    Even when you understand the process, ie read Scott's website, no one can answer, this type of question for you:-

    a) How many simultaneous VU I need for 100,000 customers base business.

    without knowing the nature of the business, for example (for all we know) your software could be providing a video lending library service to 'one armed chef's' who need special bread making instructions 'as and when new bread recipes come out', or you could be running a 'horse betting syndicate', how would we know the answer from what you have stated ?

    Regards

    Ian




    ------------------

  6. #6
    Moderator
    Join Date
    Aug 2000
    Location
    Vancouver, BC, Canada
    Posts
    1,189
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Sizing

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Ian:
    'one armed chef's' who need special bread making instructions 'as and when new bread recipes come out'<HR></BLOCKQUOTE>

    Hmm, picturing 100,000 of these chefs. LOL
    How do we model 1-armed usage? Multiply the user wait times by two?

    :-)



    ------------------
    Roland
    Roland Stens

  7. #7
    Senior Member
    Join Date
    Jul 2002
    Location
    Palm Bay, FL USA
    Posts
    2,346
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Sizing

    Ian, are you stealing my favorite answer? ("it depends")

    The first thing you have to know, as Ian mentioned, is your usage model. Is that 100000 users an hour? a day? a year?

    Take a look at User Experience, not Metrics articles 2,3,4 on http://www.perftestplus.com They discuss user modeling for the purposes of Performance testing.

    The total number of users is not going to be of much help to you in capacity planning unless you know their patterns.

    Of course, you could try applying SPE if you are able to determine things like the expected number of clock cycles on the web server per average request. But even doing that, you will need to be able to determine how many people will be doing what concurrently.

    ------------------
    Scott Barber
    NOBLE(STAR
    Sr. Performance Engineer
    sbarber@noblestar.com
    http://www.noblestar.com
    http://www.perftestplus.com
    Scott Barber
    Chief Technologist, PerfTestPlus
    Executive Director, Association for Software Testing
    Co-Author, Performance Testing Guidance for Web Applications
    sbarber@perftestplus.com

    If you can see it in your mind...
    you will find it in your life.

  8. #8
    Senior Member
    Join Date
    Dec 2000
    Location
    Pune, India
    Posts
    135
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Sizing

    What you need is a capacity planning tool. Have a look at BMC’s PATROL Perform and Predict which is specifically for Capacity Planning purpose.

    You can predict many different performance related metrics using this. Instead of actually testing on different hardware (which may be costly and time consuming) you can predict the performance results on different configurations with this tool.

    Once you have collected performance data from your existing configuration, you can do what if analysis on different factors like,
    * Changing a Physical Resource for eg. Adding or Upgrading CPU, Disk, Memory, etc. and
    * Changing Resource Usage (Work Load) Increase/decrease the # of users, Increase/decrease the transaction volume etc.
    This will help you identifying required hardware configuration for different workloads (users/transactions)

    Also check the article at the following link which mentions how this tool helped in identifying correct size of processor while reducing overall cost. This is just one example, I can provide you more.
    http://www.idg.co.nz/webhome.nsf/UNID/24C7C760BC3967FDCC256C610072598B?Open Document&Highlight=2,BMC

    Please feel free to contact me for more info.

    ------------------
    prasad_patwa@yahoo.com


    [This message has been edited by Prasad (edited 11-19-2002).]

  9. #9
    Senior Member
    Join Date
    Jul 2002
    Location
    Palm Bay, FL USA
    Posts
    2,346
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Sizing

    Ian, et al.,

    You are absolutely correct. Reading my stuff will not answer his question. All it will do is help him think through the process of what those "one armed chef's" are doing when. And that is just the first step.

    A capacity planning exercise/tool is going to be quite useful in this case.

    Maybe it is truly unknown how these users will access the system on a daily/hourly basis. But with good capacity planning, at least you could say...

    "if this many users access the system on an hourly basis, this configuration/hardware gives acceptable performance. To double that number, this configuration/hardware is required." etc.

    ------------------
    Scott Barber
    NOBLE(STAR
    Sr. Performance Engineer
    sbarber@noblestar.com
    http://www.noblestar.com
    http://www.perftestplus.com
    Scott Barber
    Chief Technologist, PerfTestPlus
    Executive Director, Association for Software Testing
    Co-Author, Performance Testing Guidance for Web Applications
    sbarber@perftestplus.com

    If you can see it in your mind...
    you will find it in your life.

  10. #10
    Junior Member
    Join Date
    Aug 2002
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Sizing

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by DA:
    I have QA Load Software to perform Load test,
    How many Vusers (25,50 ...250)I need to run?
    What

    Thanks in advance.

    <HR></BLOCKQUOTE>


    Back to your original question. I have a little formula I use to determine the VUs needed for testing an application. I used it to successfully load test an application that was to have 100,000 users over a three hour period, only using a 500 VU license for QALoad. You may agree with this formula or you may think I am crazy. But here it goes....

    OK you have 100000 users. What is the average number of pages that each of these users visit during a session? Next, what is the average length of time of these users' sessions? Divide the first number by the second and the result is the pageviews/second rate for a single user. Multiply this number by the maximum number of active sessions that the application will have at any given time. The result will equal the number of VU's you will need to load test this application.

    So let's put some numbers with this. An average user visits 9 pages and stays on the site for 15 minutes (or 900 seconds). You have 100000 users and the max that will be on the site at any given time is 20% (or 20000 users).

    9/900 equals .01 pageviews/second for 1 user.
    .01 * 20000 = 200 VUs needed to perform your load testing.

    Now...this formula assumes that you will build your scripts with no THINK/SLEEP time in them. This is 200 VUs going as fast as possible. NOTE: you should use a top end machine or machines to perform the load testing as you want to stress the app and not the load generating machines. At the end of the test, the key metrics you want to pull from the results are the pages/second and the response times for each of those pages. Don't focus on Virtual User level.

    I am open to any suggestions and/or disagreements with this formula. Anything to make it (and me) better is always welcome.


    ------------------
    Jim
    "Learning to work smarter instead of harder."
    Jim

 

 
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 8.82%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 09:48 PM.

Copyright BetaSoft Inc.