Hello,
I'm having some problems with a new Linux system running MySQL 4.0.17. This box is going to be my main database server, so it needs to be fast. It is a dual 2.66 Ghz Xeon system with 2GB of ECC memory, running a RAID-5 SCSI array (tried LSI MegaRAID 320-1 and Adaptec 2120S adapters). Everything installs just fine, and as a test of the speed capabilities, we're trying to set up a few other machines on the network to start inserting new records into the tables through a Python script. What happens is that the machines running the script to do the inserts starts stopping and starting repeatedly. It almost seems like we are filling out a buffer of some kind and we're waiting for it to clear out. The pauses happen about every 5 seconds, during which time the CPU utilization on the machines drop to almost 0 before picking up again. Utilization on the server itself never goes above 10-15% for the most part.
The really strange thing about this is that running the exact same system under Windows 2000 Server does not exhibit the same problem. We can have multiple systems doing inserts, all they all max out their utilization with no hiccups. So, I'm a little stumped as to what in Linux is causing the problem. I've tried tweaking the my.cnf file (using the my.huge as the base), and adding 'flush' will help things somewhat, but the speed hit makes it not worth it.
So, I'm hoping someone can help me out with this. I'm not sure if it's a Linux problem (tried Redhat 9, Fedora, Mandrake, and currently running Redhat Enterprise Server), or if it's something with MySQL, or if it's something between the 2 of them. I've tried the 2.4 and 2.6 kernels to no avail. It's difficult to watch this powerhouse of a server continue to pause repeatedly however, so we're definitely hitting some kind of bottleneck somewhere... I just don't know where else to look.
If any other system information is needed, just ask.
Thanks.
I'm having some problems with a new Linux system running MySQL 4.0.17. This box is going to be my main database server, so it needs to be fast. It is a dual 2.66 Ghz Xeon system with 2GB of ECC memory, running a RAID-5 SCSI array (tried LSI MegaRAID 320-1 and Adaptec 2120S adapters). Everything installs just fine, and as a test of the speed capabilities, we're trying to set up a few other machines on the network to start inserting new records into the tables through a Python script. What happens is that the machines running the script to do the inserts starts stopping and starting repeatedly. It almost seems like we are filling out a buffer of some kind and we're waiting for it to clear out. The pauses happen about every 5 seconds, during which time the CPU utilization on the machines drop to almost 0 before picking up again. Utilization on the server itself never goes above 10-15% for the most part.
The really strange thing about this is that running the exact same system under Windows 2000 Server does not exhibit the same problem. We can have multiple systems doing inserts, all they all max out their utilization with no hiccups. So, I'm a little stumped as to what in Linux is causing the problem. I've tried tweaking the my.cnf file (using the my.huge as the base), and adding 'flush' will help things somewhat, but the speed hit makes it not worth it.
So, I'm hoping someone can help me out with this. I'm not sure if it's a Linux problem (tried Redhat 9, Fedora, Mandrake, and currently running Redhat Enterprise Server), or if it's something with MySQL, or if it's something between the 2 of them. I've tried the 2.4 and 2.6 kernels to no avail. It's difficult to watch this powerhouse of a server continue to pause repeatedly however, so we're definitely hitting some kind of bottleneck somewhere... I just don't know where else to look.
If any other system information is needed, just ask.
Thanks.