SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Dec 2006
    Location
    Harleysville, PA
    Posts
    89
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Threads vs. Processes

    Can someone tell me the difference between the two, other than process takes a lot more from the player machine to run? I assume it's basically the type of system you're testing against, multi-threaded or multi-process. So, in load testing a multi-threaded web application server, I would use threads, and if I was loading a server by executing multiple .exe's, I would use processes. Am I correct?

  2. #2
    Senior Member
    Join Date
    Jun 2007
    Location
    Raleigh NC
    Posts
    509
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Threads vs. Processes

    Not positive, but I believe threads are created by processes (ie running programs) and so all threads share the same memory management, security, stack, etc. Also, threads can easily communicate with each other. Programs have there own stuff... actually, I just looked up "thread" on wikipedia and that's better than I can do.
    Cheers,
    B^2

    "Imagination is more valuable than knowledge." (AE)

  3. #3
    Member
    Join Date
    Dec 2006
    Location
    Harleysville, PA
    Posts
    89
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Threads vs. Processes

    Yes, but I need to know more how it applies to QALoad...mainly what the effect is on the testing by choosing one versus another.

  4. #4
    Member
    Join Date
    Nov 2001
    Location
    India
    Posts
    173
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Threads vs. Processes

    for heavy duty applications better to run as Process than threads.
    If you have attended the training of QALoad you should have got this cleared.
    Examples like citrix, and other client-server applications can be used to run as process rather than thread.

  5. #5
    Junior Member
    Join Date
    Jun 2007
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Threads vs. Processes

    If you run in thread mode, each VU runs off of a thread spawned from a process. Since some resources are shared in this mode, you will normally find you can run more VUs per player. If you run into memory errors or inconsitent middleware exceptions try running in process mode. In process mode, each VU runs as its own process.

    Some middlewares, such as Citrix and SAP only have the option to run in process mode. The WWW middleware may be run in either thread or process.

  6. #6
    Member
    Join Date
    Dec 2006
    Location
    Harleysville, PA
    Posts
    89
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Threads vs. Processes

    Well, I've been running processes as my load generating box can handle 314 and we only have 250 VU licenses. I figured it can't hurt to always run as a process if I have the horsepower to support it. I was mainly concerned with the software side (ie:software configured to run multi-threaded vs. multi-process). From the responses, however, it seems to have more to do with the QALoad generating side of things.

 

 

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.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.00%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:17 PM.

Copyright BetaSoft Inc.