Re: Benchmark MySQL Performance On FreeBSD And Linux



hi,
I experience the crashes myself. I used super-smack remotely to connect
MySQL with 200 clients first. After the test was done and the connections
were closed, we connected MySQL with 300 clients immediately. Then the MySQL
restarted. The error log of MySQL is:
mysqld in free(): error: modified (chunk-) pointer
051130 10:12:04 mysqld restarted

I think that it's time out to cause the deadlocks, because our MySQL's
innodb_lock_wait_timeout is 50.

As you can see from our paper, we used super smack to test. The test scripts
were given in the paper.

Best regards,
Leo Huang

2005/12/16, Greg 'groggy' Lehey <grog@xxxxxxxxxxx>:
On Friday, 16 December 2005 at 11:20:12 +0800, huang leo wrote:
>
> We had evaluated MySQL performance on FreeBSD and Linux. The result is
> attached.

Thank you!

This is some of the most plausible information I've seen in a while.
I'm forwarding it to a MySQL internal list, and I expect we'll discuss
it in much detail.

A few comments:

- You refer to bug http://bugs.mysql.com/bug.php?12251. Did you
experience these crashes yourself? If you look through that bug
report, you'll find that we (MySQL) have had great difficulty
reproducing the problem. Many people have reported that they have
no trouble under the same conditions, and we were half thinking it
might be related to (but not the fault of) the hardware in
question. Your hardware is very different, so it would help us a
lot if you're also able to reproduce it.

- There's been a lot of discussion on the FreeBSD lists recently
suggesting that the performance problems are related to the choice
of timer. I've never been convinced, and your results suggest to me
that this isn't the real problem. Still, it would be nice to
compare the results using various timer options.

If you haven't been following the discussion, it's in the archives
for the FreeBSD-current mailing list. Let me know (in private mail)
if you'd like me to forward them to you.

- I'd be very interested in the deadlocks you've been experiencing.
If you have any additional information, please let me know.

Do you have scripts for these tests? I appreciate that the
information is mainly there, but it would be easier for us if the
scripts are available.

Thanks again for the report
Greg
--
See complete headers for address and phone numbers
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Reducing load for LAMP app?
    ... MySQL: as much as possible, he keeps query results in RAM, but ... His hoster says that Apache server is under significant load. ... Using apc is pretty much transparent, but memcached will require modifying your database abstraction layer using the memcached functions. ... With persistent connections, you must have the maximum number of connections *ever* required allocated *all of the time* - even if no one is using your server. ...
    (comp.lang.php)
  • Re: ODBC microsoft access driver
    ... Access has limited concurrent connections. ... If you can get mysql I would use ... MS Access fan for small web sites myself but when those small websites ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: [PHP-DEV] [PHP4] Logging native PHP function calls
    ... X (number of mysql usernames) ... If you really have 150 MaxClients in httpd.conf and 140 mysql ... 15,600 mysql connections is a LOT of connections, and will take a LOT ... I've never tried to run a server with 140 mysql usernames, ...
    (php.general)
  • Re: Reducing load for LAMP app?
    ... MySQL: as much as possible, he keeps query results in RAM, but ... His hoster says that Apache server is under significant load. ... Using apc is pretty much transparent, but memcached will require modifying your database abstraction layer using the memcached functions. ... With persistent connections, you must have the maximum number of connections *ever* required allocated *all of the time* - even if no one is using your server. ...
    (comp.lang.php)
  • MySQL and max_connections limit exceeded
    ... I'm running FBSD6.0-R and MySQL 4.1.8 and I'm experiencing problems with MySQL throughput doing heavy load tests. ... I'm using super-smack to do many concurrent connections to the database. ... super-smack: aborting because of a database error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' ...
    (comp.unix.bsd.freebsd.misc)