Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to run Jmeter to simulate 40k concurrent users and stress test a particular system. Putting aside the possibility that Jmeter may not be able to push such a high number (although I have read that it is at least possible to handle 10k concurrent threads on a very powerful machine), is FreeBSD a more suitable OS as compare to CentOS to be used for my Jmeter machine for handling 40k (or as high as possible) of concurrent outbound connections?

Reason for asking this is that, I have found articles on FreeBSD for tuning and optimizing for maximum outbound connections, but seem to have little luck with CentOS. It makes me wonder if for some specific reasons, people don't use CentOS for such high number of outbound connections. Personally however, I am more familiar with CentOS and would like to stick with it if possible.

In short, I would like to know whether it's a better option to tune FreeBSD for such high number of connections, or if I could achieve the same results with CentOS too?

Any input is greatly appreciated!

share|improve this question

4 Answers 4

up vote 3 down vote accepted

FreeBSD 7/8/9 and Linux 2.6 are basically equal in their out-of-box networking capacity. I've seen benchmarks where one outdoes the other, and they seem to go back and forth. I'd recommend using the platform you're most familiar with, as you'll likely be able to tune it better.

share|improve this answer
    
Thanks Chris. That's the confirmation I need. :) –  blacklotus Jun 14 '10 at 1:13
    
Is it possible for you to share the links to the benchmarks? –  blacklotus Jun 14 '10 at 1:27
    
This benchmark is getting a bit old now, but it was doing when there were some big changes being done to the kernels to support massive connection scenarios: bulk.fefe.de/scalability –  Chris S Jun 14 '10 at 2:14
    
Another benchmark site using completely unoptimized kernels, but unfortunately done on a laptop. Still most of the numbers are relevant to generic situations. phoronix.com/… –  Chris S Jun 14 '10 at 2:24

Although my knowledge of Linux is pretty much nonexistent, I can tell you that we had to tune several default Linux kernel networking settings to handle the traffic levels we regularly get on these sites. We use ubuntu server, but all the advice we found seemed to be distribution agnostic.

My point: I don't think any distro is set up correctly for massive numbers of network connections out of the box; they all require a bit of tuning.

share|improve this answer
    
Thanks for the reply Jeff. I am aware of that. :) –  blacklotus Jun 14 '10 at 1:25

If you're talking about the concurrent users & connections, then is it related to the server application more than it is to the OS?

If that is the case then the choice of web server is more important and then comes the server applications like nginx into the scene. Nginx is famous for handling very large number of simultaneous connections.

share|improve this answer
    
Nginx is more of a web application that handles inbound traffic instead of generating outbound traffic. In the place of application, I have Jmeter that would generate all the outbound traffic for me. I am sure that both Jmeter and the OS would both be hitting the out-of-the-box limits and require extensive tuning. Since I am stuck with Jmeter, I am primarily concerned about whether one of these OS may be a better choice so that I don't have to switch in the future when I hit the hard limit and realize my mistakes. :) –  blacklotus Jun 14 '10 at 1:22

You can possibly look onto Tsung to use for testing with such an amount of concurrent users.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.