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!
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.
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.
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.
You can possibly look onto Tsung to use for testing with such an amount of concurrent users.