On Mar 10, 12:42 am, Michael Kovacs <[EMAIL PROTECTED]> wrote: > > If MySQL is running on the same box, however, that would figure into > > the equation. > > Assuming the scenario with everything running on one box can you > elaborate about how MySQL would figure into the equation? At the > moment it seems like maybe RAM would be the only factor because ruby > seems to be the CPU bottleneck by a long shot. I can't really even > get MySQL to blink.
Are you using ActiveRecordStore for sessions, or using the default disk based sessions? If you're writing to disk, it could well be that your disks are limiting your throughput, particularly if you are creating many thousands of files in the same directory, which can have nasty processor punishing performance implications. If you run top while the benchmark is running, what does the header above the process list look like? > From my testing thusfar (granted not as extensive > as I'd like or as you and Ezra have no doubt performed) I don't see > how in a single box environment tuning anything other than the web > server process count and ruby/rails is going to make any perf diff. > Just curious if I'm way out of line with that thinking. I'm basing my > observation on my log file time division where 80-90%+ is spent in > ruby compared to 10% or less for MySQL. No question you should focus the most on where you spend the most time. But, *why* are you spending the time where you are? You cannot generally tune anything. If you want really good results, you have to get the tests as close to reality is possible. This is why really good performance tuning guys must have access to production systems. :-) -- -- Tom Mornini, CTO -- Engine Yard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---