RejectedSoftware Forums

Sign up

Threading model and cpu utilization.

Hi

I was playing with vibe and using "ab" to benchmark and I was not able to utilize beyond one core. Is this expected? I thought I would be able to utilize all the cores.

Pedro.

Re: Threading model and cpu utilization.

Am 12.05.2014 22:34, schrieb Pedro Larroy:

Hi

I was playing with vibe and using "ab" to benchmark and I was not able to utilize beyond one core. Is this expected? I thought I would be able to utilize all the cores.

Pedro.

The HTTPServerOption.distribute flag needs to be set in
HTTPServerSettings.options for multiple cores to be used for request
handling. "ab" is unfortunately also a bit CPU hungry. I'd recommend
weighttp instead, even though its statistics are quite simplistic.