Home » Performance » MySQL » more RAM, less performance
more RAM, less performance [message #1737] Tue, 04 September 2007 18:56 Go to previous message
dwellman  is currently offline dwellman
Messages: 8
Registered: September 2007
Junior Member
Greetings:

Just one very obtuse question: Can anyone think of a situation where providing more memory to a system running Linux (i386 / 32-bit, kernel 2.6.20-1) causes MySQL (specifically 5.0.27) to perform slower than it did with less memory using the same settings (same my.cnf file)?

I know windows XP and lesser flavors of Windows Server have problems when approaching 4GB, but I was a bit concerned when the MySQL environment began to exhibit unexpected behavior. Simply maximizing memory (2GB to 4GB) and changing no server settings I would expect performance to be roughly identical. Instead, MySQL appeared to not allocate as many bytes of RAM as previously and queries where taking longer, running at 100% CPU usage-- probably writing tmp tables to disk. Its just weird, isn't it? Again, all I did was add more memory. I changed no server settings.

Happy ending, at any rate. I was able to spend a few hours tweaking settings and a couple of the queires in question to re-gain acceptable performance.

[Updated on: Tue, 04 September 2007 19:02]

Read Message
Read Message
Read Message
Read Message
Previous Topic:Storing InnoDB tables on RAM disk
Next Topic:MySql with firwall...connection fails
Goto Forum:

  


Current Time: Fri Jul 10 04:01:05 EDT 2009

Total time taken to generate the page: 0.01014 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2007 FUD Forum Bulletin Board Software

MySQL is a trademark of Sun Microsystems.
InnoDB is a trademark of Oracle Corp.

Percona Performance Forums are a service of Percona, Inc.
Not affiliated with Sun Microsystems or Oracle Corp.