Slashdot Mirror


Testing Pre-Production Servers Accurately?

An anonymous reader asks: "Having been granted a 90-day demo enclosure of new blade servers from a major vendor the question I find myself asking is: On a limited budget, how does one simulate 1000+ attached clients and the activity of those clients? We're a K-12 school district and our current servers don't keep up with all the roaming-profile abuse from our Windows workstations. Are there tools or tricks available to simulate load on Netware/Linux servers? The user groups around here usually answer this question with 'Get some workstations for a test lab!', there's got to be a less expensive option, right? Can we leverage our existing client populous to achieve our goal, without interrupting or changing the quality of service at the desktop, substantially?"

48 comments

  1. Don't even try by Intron · · Score: 1

    Its extremely difficult to create useful benchmarks of high loads. Leave it to professionals. Find or buy an evaluation of the type of system that you are interested in. End-user reviews of systems that they have purchased would be great, but too many manufacturers will try to quash negative comments or inject positive comments, so its hard to find unbiased advice.

    --
    Intron: the portion of DNA which expresses nothing useful.
  2. options but still expensive by martin · · Score: 3, Informative

    Talk to the Mercury test people and others about load generation. They will sell you some nice programs to unit and load test systems...

    1. Re:options but still expensive by Anonymous Coward · · Score: 3, Interesting

      Nah, way to expensive. Check out OpenSTA.org or check here for a comprehensive list of Load Testing tools (both free and commercial): http://www.performancetester.com/mambo/component/o ption,com_weblinks/Itemid,4/catid,68/

    2. Re:options but still expensive by Old+Uncle+Bill · · Score: 1

      I haven't used this too much personally (we're a Mercury shop), but this is definitely the way to go. Mercury Load Runner would be about $100K for what you are trying to do. OpenSTA can do what you need. Load testing software is probably the least of your concerns tho. You need to set up valid use cases modeled accurately after what your real users will be doing. You need to set valid exit criteria for what a successful test outcome would be. The fact that you are actually looking into doing load testing is a good sign. Good luck with it. My group of 12 people only does performance testing and code optimization. It is a lot harder to do right than most people think.

      --
      Yes, I am an agent of Satan, but my duties are largely ceremonial.
  3. /. it by corrosive_nf · · Score: 0

    Setup a site and see how the server can handle a slashdotting.

  4. Absolutely!!! by Anonymous Coward · · Score: 2, Funny

    Store some MP3's and some porn, especially mpegs, on it and then connect it to the network. You don't even need to announce it but, within hours every workstation on your network will be hitting the servers and if it fails or is removed at a later date, no one will have the nerve to complain.

  5. Login Scripts by dJCL · · Score: 4, Interesting

    Just add a program to the login scripts that runs some tests against the server in the background.

    Then when everyone logs in in the morning, it just overloads the thing...

    And simulates the load spikes you see. I don't know a program or script that would do this, but I'm sure someone out there does.

    JC

    --
    On Arrakis: early worm gets the bird. Magister mundi sum!
    1. Re:Login Scripts by barzok · · Score: 1

      But what would that do to network utilization? It'd be easy to double the load on the network with each login.

    2. Re:Login Scripts by dJCL · · Score: 1

      There is that... but I don't have a better solution to load up the system in a realistic way.

      JC

      --
      On Arrakis: early worm gets the bird. Magister mundi sum!
  6. Easy... Slashdot them! by Anonymous Coward · · Score: 0

    Just put them on the internet and publish the address on Slashdot. That will be a real stress-test of those machines.

  7. Nights and weekends and holidays by plsuh · · Score: 4, Informative

    We're a K-12 school district ... Can we leverage our existing client populous [sic] to achieve our goal, without interrupting or changing the quality of service at the desktop, substantially?"

    You're gonna hate the answer, but this will give you a better test than anything else. Plug in your test system and get a bunch of the kids to help you out on a weekend. Have them do logins, logouts, play games, surf, write and save papers, etc. on throwaway accounts that go to the test server.

    Write out a test plan -- how many clients, how many local, how many remote, how many do you start with, what is the step size (e.g., start with 5 clients, then 10, then 15, then 20, then 30, etc.). Profile your existing systems so that you know what's really creating the load on them. Is it really the roaming profiles or is it web site caching or is it something else? Good luck with it.

    --Paul

    1. Re:Nights and weekends and holidays by Anonymous Coward · · Score: 0

      Seriously... if the district has a computer class for high schoolers, make it an extra credit assignment if they stay 2 hours after school, or free pizza, or, something. "you get as much extra credit as there is percentage load on the server rack"... throw in punch and pie and you're set.

      Offer even more if they help you with the test plan or write a report on what they did to help or some stuff. This just _screams_ "Educational Experience".

      If someone screams about wasted resources, tell them you can always give the damn server back.

  8. This is probably a stupid question, but... by mellon · · Score: 1

    What's "roaming-profile abuse?"

    1. Re:This is probably a stupid question, but... by eyeye · · Score: 2, Informative

      Perhaps its a reference to the fact that windows *copies* your profile to each machine when you log in and so if users have hundreds of megs in their docs etc.. then the network quickly becomes busy.

      --
      Bush and Blair ate my sig!
    2. Re:This is probably a stupid question, but... by mellon · · Score: 1

      Once again I thank my lucky stars that I was born a Unix geek and not a Windows geek... :'}

      Thanks for the explanation!

    3. Re:This is probably a stupid question, but... by JonathanX · · Score: 5, Interesting

      So why not just point each user's "My Documents" folder to a network share? This will keep the profile much smaller. I guess I just took it for granted that this was a standard practice. I've done it for years.

    4. Re:This is probably a stupid question, but... by Anonymous Coward · · Score: 5, Informative

      So why not just point each user's "My Documents" folder to a network share?

      Because most admins, > 60%, don't RTFM and therefore are unaware that the My Documents folder can be redirected through the use of Group Policy. Even more admins, > 80%, don't know that the IE cache directory should also be redirected to prevent multimeg profiles due to browser cache.

      Of course, even those admins, that go to the trouble of doing these things and many more to minimized the profile size, are torpedoed by the users that save their downloads and documents to their desktops. I even saw an admin with a Windows 2000 service pack(>120MB) saved to his desktop while using roaming profiles.

      The fact is that the roaming profile implementation is crap! Nothing should be copied over the network at login. Everything should be stored on a network drive and accessed directly from there. This is how Unix does it with remotely mounted Home directories. That way files don't cross the network if you don't access them. If you want to implement caching for slow links or disconnected access as Windows does, that's fine, but copying everything over the wire everytime someone logs in is just stupid.

    5. Re:This is probably a stupid question, but... by moosesocks · · Score: 1

      Because in WinXP, copying the whole profile gives you the user's application settings, cookies, desktop, etc....

      it is nice to be able to log on anywhere and have everything be exactly the same.

      On the other hand, I do think the way in which microsoft handles this is a tad inefficent. I think novell offers a better solution to this, but I honestly don't have a clue.

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
    6. Re:This is probably a stupid question, but... by Anonymous Coward · · Score: 0

      It's what happens when some clueless fool is left in charge of a network.

    7. Re:This is probably a stupid question, but... by opposume · · Score: 1

      You're damn right it does. Thank you Zenworks desktop management!!! Novell has to be one of the best server environments I've had the pleasure of working with.

      --
      I haven't lost my mind. It's backed up on disk somewhere.
    8. Re:This is probably a stupid question, but... by Anonymous Coward · · Score: 0

      Even more admins, > 80%, don't know that the IE cache directory should also be redirected to prevent multimeg profiles due to browser cache.

      Actually, smarter admins know that IE puts its cache files in the "Local Settings" folder, and "Local Settings" is excluded by default from the user's profile, and won't get copied back and forth :)

    9. Re:This is probably a stupid question, but... by ximenes · · Score: 1

      I really hate the way Windows handles roaming profiles. One thing that you can do to partially alleviate the problem is to prevent the local machines from caching profiles.

      In the registry create a value named DeleteRoamingCache of type REG_DWORD and set it to 1 under the HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Win dows\System registry subkey.

      This doesn't solve the delays in copying the profiles around, but it does prevent them from filling up the hard drive. I particularly like this because it eliminates the issue of an old cached profile updating your real profile with files and settings you got rid of months ago. It seemed like that was always happening to me.

    10. Re:This is probably a stupid question, but... by jwpacker · · Score: 1

      Speaking as an IT person at a K12 school district, I can tell you one thing that you can't do: you can't always use group policies the way you want to. In our instance, our infrastructure is pretty good (Fiber from our NOC to every school and admin buildng, gigabit ethernet to the MDFs, 100MB to the desktops, a mix of Win2K and Win2K3 servers (not my choice...)) But our clients, about half of them, bite balls. Pentium 1 machines, running Windows 98 and NT, and little or no money to actually replace them. 98 and NT are horrible to try to administer. Our 2K and XP workstations, great, but those older machines just won't, so I'm told, let us do what we want to do with policies. So yes, we'd love to have a more efficient system with regard to our profile problems. But we lack the funds, currently.

      --
      Software is like a goldfish - it'll grow to fit the size of it's bowl...
    11. Re:This is probably a stupid question, but... by Creepy+Crawler · · Score: 1

      Yeah, ok. But show me somewhere the documentation on all the software natively on a Windows machine, and common placement of 'stuff' on those machines.

      Linux is pretty easy in that regard. anything beginning with a dot in home is PROBABLY a config.

      Still, the smartest way is to disable roaming profiles, map the home to your desktop (as a link, mind you) on login. Seriously, wouldnt you complain if Linux mapped your home on another computer then proceeded to copy every file over. COurse, this is where consistency errors happen if the netlink is broken or server dies (yeah, winnt server or 2k server....)

      --
    12. Re:This is probably a stupid question, but... by jabuzz · · Score: 1

      And the really smart admins of course put a quota on the profile space to stop people abusing them buy dropping zillions of files on the desktop.

    13. Re:This is probably a stupid question, but... by drsmithy · · Score: 1
      Perhaps its a reference to the fact that windows *copies* your profile to each machine when you log in and so if users have hundreds of megs in their docs etc.. then the network quickly becomes busy.

      It doesn't copy the whole profile unless the user is logging into that machine for the first time, it only copies changes.

    14. Re:This is probably a stupid question, but... by drsmithy · · Score: 1
      If you want to implement caching for slow links or disconnected access as Windows does, that's fine, but copying everything over the wire everytime someone logs in is just stupid.

      And Windows doesn't - it only copies *changes* (although, obviously, if it's the first time a user logs in the whole profile will be copied).

    15. Re:This is probably a stupid question, but... by rsax · · Score: 1

      Do you have a URL for some documentation describing how to do that without using a Windows 2000 server? Meaning on a network with a Linux Samba server and Win2k/XP workstations as clients.

  9. Set it up on the network by unleashedgamers · · Score: 1

    Well just to start i'll tell a bit about my self, Im a grade 12 student at Bishop O Byrne high school.

    If you have 90 days get the system setup to do everything on the network as fast as you can (you only have 90 days) set it up as if you where going to replace your current computers and then do just that, put it where it is suppose to go if you where to buy one. See the load it gets and log everything.

    Your not part of a multi billion dollar company teachers and students can make it without the internet (its true!) tell them its a network upgrade.

    In my school district there is quite a few day a year when the network and computers don't work, guess what we survived!

    1. Re:Set it up on the network by adamjaskie · · Score: 1

      You are in 12th grade. With the English skills of a...

      Kids these days.

      --
      /usr/games/fortune
    2. Re:Set it up on the network by unleashedgamers · · Score: 1

      Its the NEW high tech schools!

  10. Why? by Telastyn · · Score: 1

    I can nearly guarantee that whatever company is providing you the blade servers has already done a ton of quantitative testing [or had someone else do it for them] for the sort of thing you're looking for. Just ask them for the data.

  11. AP Computer Science students by raider_red · · Score: 1

    Talk to the AP computer science teachers about getting their students to develop a load generator solution. It should make an interesting extra credit assignment for them.

    If nothing else, put it on the network and invite them to use it as much as possible.

    --
    It's good to use your head, but not as a battering ram.
    1. Re:AP Computer Science students by moosesocks · · Score: 1

      This is exactly why the computers in our CompSci lab don't have internet access.

      It's fascinating that they managed to still allow file sharing to work and let us access our folders, but still completely remove the TCP/IP stack from Windows.

      This is also the reason they won't upgrade past Win98 -- you can't remove the IP stacks from 2000/XP.

      As you can imagine, my school treats its students like criminals and is quite backward in many of its policies... they're scared to death that one of us is going to hijack the network, so they simply revoke all of our privelidges

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
    2. Re:AP Computer Science students by Anonymous Coward · · Score: 0

      It's fascinating that they managed to still allow file sharing to work and let us access our folders, but still completely remove the TCP/IP stack from Windows.

      Just remove the tcpip protocol, and use one of the many other network protocols for file sharing: IPX/SPX, netbeui, etc.

      This is also the reason they won't upgrade past Win98 -- you can't remove the IP stacks from 2000/XP.

      WTF? Where did you learn that? Just remove the tcpip protocol - very very easy in win2k/winxp. Netbeui is on the winXP CD if you want to install it.

      Or just use tcpip, but don't connect the compsci lab to the outside world/block at the router, etc.

      they're scared to death that one of us is going to hijack the network, so they simply revoke all of our privelidges

      Given my experience of the quality of K12 IT staff, it IS highly likely that one of the kids will do exactly that.

    3. Re:AP Computer Science students by jon787 · · Score: 1

      Lemme guess Novell login?

      Still uses IPX not IP unless configured otherwise.

      --
      X(7): A program for managing terminal windows. See also screen(1).
    4. Re:AP Computer Science students by raider_red · · Score: 1

      Can the computers be booted from a CD? If so, just take in your Knoppix disc and enjoy.

      --
      It's good to use your head, but not as a battering ram.
  12. Obvious solution? by crimethinker · · Score: 2, Funny
    I'm surprised that no-one has mentioned the obvious solution: set up a webserver and post the link to slashdot. References to Natalie Portman, hot grits, and torrents of a leaked telecine rip of Episode III should help.

    -paul

    --
    Pistol caliber is like religion: everyone has their favourite, and theirs is the only right choice.
  13. Fifth post by Anonymous Coward · · Score: 0

    While not exactly the same, the fifth post in this thread is similar enough to yours that yours qualifies as -1 Redundant.

    -peter
    -mary

  14. Simple answer: don't use roaming profiles... by Anonymous Coward · · Score: 1, Insightful
    I work for a high school district and roaming profiles are nothing but trouble. I've found that it works far better to just not use roaming profiles at all. Reasons for this are:
    1. Roaming profile become enormous. Roaming profiles would often grow to over 20 MB. A single file doesn't take long to copy, but roaming profiles consist of many smaller files, often times over 5,000 files. 20 MB divided up into 5,000 files takes a significant amount of time to copy. In a school setting where someone could log on to 8 different computers throughout the day, 2-3 minute login times (time spent copying the roaming profile) are unacceptable.
    2. Roaming profiles allow for malware. If you don't save any user settings, malware is made pretty much non-existent.
    3. Roaming profiles would frequently become corrupted. This would lead to the inability for users to log on unless a network administrator would delete their profile so that it would just grab a copy of the default profile. Down time for the users is not good.
    4. Roaming profiles lead to more problems with users changing program settings and then not being able to get something to work. If you don't save any of these settings and instead always have the users use a clean default profile, problems with incorrect settings are greatly reduced. Generally these problems require interaction with the user because they are not easily reproducable problems since all of the roaming profiles are different.
    5. To some degree, Windows XP, 2000, and 2003 profiles are incompatible. If you use multiple of these, you are likely to run into some problems as each user only gets one profile.

    I really could go on and on with problems they cause. They have but one sole purpose which is to save user settings. While this in itself is a very strong reason, all of the negative side-effects of using them outweighs their benefit. Over time you will find yourself cutting more and more out of the user profiles in order to fix the problems they cause. For example, to reduce the size of the profiles, you can have certain subdirectories ignored. This works great, but by the time you eliminate the problem directories to reduce the number of files in the profile, you realize that much of the value of roaming profiles is being eliminated just to make them work decently. In the end it's just better to avoid them.

    This even applies to situations where each user typically uses only a single PC, an environment which is very different from a typical school. In those environments, what purpose does a roaming profile serve? If the users don't roam, you might as well just use local profiles stored on the workstations themselves.
  15. Some thoughts on this kind of testing by machinecraig · · Score: 4, Interesting

    This is very do-able, but there are a few gotchas. Your plight made be think about how I would do it if I were in your shoes...here's what I would do:

    1. Come up with a (hopefully short) list of items that need to be observed under load. For example, authenticating users and allowing logins, serving up files).
    2. For each testing item identified, find a repeatable, scriptable method of testing it. Perl will be your best friend here. For questions consult the great folks at perlmonks.com. You can find very nice modules that will allow you to create scripts that can authenticate to your test server, and report back a time. If you dump all your responses into a csv format, it will make the reporting of the data even easier.
    3. Write a separate script to track system performance during the testing period. I couldn't actually tell from your question if the servers you are testing are windows or *nix , but whatever the os, you'll probably want a snapshot of overall CPU utilization and Run Queue size, swap use, disk access times, and memory consumption.
    4. Be sure you are testing what you think you're testing! You're testing results will be invalid once you hit a limiting factor. So if you're network link gets overloaded by your test script, then your file transfer test is not a good one.
    5. Design your testing scenarios carefully. It's probably best to have as short a test list as possible, and then make them as iterative as possible. For example, first test with having 1 users logon and transfer a file. Second test has 10 simultaneous users logon and transfer a file. Third test has 100 users involved, etc.

    The key to all of this stuff, is you want tests that are repeatable, valid, and indicative of production uses. The nice thing about developing these test scripts is that you can use them to test hardware from several diferent vendors. If it seems daunting, just remember that it's better to spend a week of late nights developing the scripts - then to spend the next several months wondering if you're implementing hardware that will hold up to your production workload!

  16. Linux? 1000 users? by mnmn · · Score: 0, Troll

    Come on.

    You buy blades to serve 1000 users on Linux?

    For most purposes like openldap logins, simple database queries, pam logins, mail serving, simple firewall etc, you can get away with a simple Athlon64 server for upto 10,000 users. Remote profiles in windows is REAAALY heavy, think of the delay when youre logging in on someone else's workstation... Linux's authentication isnt that heavy at all.

    Just get an xSeries 206 ($500) and be done with it.

    --
    "Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
  17. this is a simple file serving problem... by Anonymous Coward · · Score: 1, Interesting

    There is lots of test data out there. You could use the serverbench test suite from PC Magazine - it's free. It uses a bunch of client PCs to generate huge amounts of network file serving load (read/write/bigfile/small files).

    Do you have enough network bandwidth? 1000 computers will easily saturate fast ethernet connections. You need gigabit ethernet or better.

    And frankly, a bunch of blade servers isn't a good way to solve a file serving problem. You want either a bunch of NAS boxes (network attach storage) or regular file servers with big scsi raid arrays.

  18. The Budget Game by Anonymous Coward · · Score: 0

    It may be overkill, or it may be playing The Budget Game. Sure, you could take the cheap and simple route and just slap a $500 server in there, but then poof goes the money you didn't spend. "You didn't spend it," the bureacrats will say, "so obviously you don't need it in the budget."

    And then there goes your IT budget when you need to do something important like roll out a new OS or launch a network application or buy Fembot parts for the computer programming students to use in the science fair.

  19. oooorrrrrrrr by Halvy · · Score: 1

    you could be considered a 'genius' for saving the it dept oodles of $, and get a raise..and get to play with linux everyday.. and..and.. :)

    --
    I will gladly loose all of life's battles.. in order to win the war..
  20. yea, but there is hope for the wingeek by Halvy · · Score: 1

    after all, a 'good' win geek will become a uni geek someday ;)

    --
    I will gladly loose all of life's battles.. in order to win the war..