Skip to main content
Participating Frequently
May 23, 2006
Question

simultaneous requests CPU IDLE

  • May 23, 2006
  • 1 reply
  • 304 views
Hello,

I have a server. It has 2 Gigs of Ram, 2 Processors, 3.02Ghz

I have my cf mx 7.x machine setup to do 20 requests. I run a mysql database on the same machine. For the most part 75% of the CPU usage is always free.

Does that mean I could perhaps increase my simultaneous requests perhaps to 30?

I have read lots of sites about optimization and have read to use 3 to 5 per cpu up to 20 threads for 2 CPU's.

I am having issues with some requests taking forever and I believe I have narrowed it down to not enough Threads, and some of the threads are being queued. So my thought was I could increase the threads to 30 because I have CPU and Memory available. I have thought about decreasing the threads too to see how the machine would respond.

Any thoughts / comments are appreciated.

Thanks!

Randy
    This topic has been closed for replies.

    1 reply

    May 23, 2006
    I'd actually back your requests down to 14-16. 20 is too many for a 2 processor system. This is one area where to much is bad. No matter how big your processors are.

    If your system is actually running out of threads, it's going to tell you, explicitly in your log files. Also, if you turn on metrics you can see exactly what your thread count is doing.

    You might want to look at other areas to reduce the amount of time your requests are taking. Maybe cleaning up the code, or queries or getting a bigger DB server, or some such. Or moving your DB server to dedicated hardware. Kinda hard to give you exact details when I don't know anything about your environment though.
    RandyICNDAuthor
    Participating Frequently
    May 24, 2006
    Thanks for the feedback. I changed it to 14 and made a few other optimizations as well. We'll see how it performs today.

    -Randy