473,785 Members | 2,851 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Benchmark differences: Mac OS X - Linux

I recently ran the MySQL benchmark suite on a Dual 1 GHz G4 running Mac
OS X Server 10.2.8, and an 800 MHz Intel machine running SuSE Linux 8.0.
Both installations used the same my.cnf file.

The results are comparable in all benchmarks except one: the 'insert'.
In that one, the Mac is more than twice as slow. Below are the benchmark
results for boch machines, and the my.cnf I used.

I was wondering if there is something I can do, configuration-wise, to
do something about those very slow 'inserts' (and 'updates') on the Mac?

Thanks in advance for any insight,
Jan Pieter Kunst

Benchmark results:

Dual 1GHz G4/Mac OS X Client 10.2/MySQL 3.23.57:
=============== =============== =============== ==
alter-table: Total time: 186 wallclock secs
ATIS: Total time: 37 wallclock secs
big-tables: Total time: 78 wallclock secs
connect: Total time: 57 wallclock secs
create: Total time: 118 wallclock secs
insert: Total time: 6811 wallclock secs
select: Total time: 1340 wallclock secs
wisconsin: Total time: 21 wallclock secs

.... snip ...

insert 137.00
insert_duplicat es 23.00
insert_key 3099.00
insert_many_fie lds 10.00
insert_select_1 _key 4.00
insert_select_2 _keys 6.00

.... snip ...

update_big 93.00
update_of_key 180.00
update_of_key_b ig 29.00
update_of_prima ry_key_many_key s 478.00
update_with_key 228.00
update_with_key _prefix 22.00
800 Mhz Intel/SuSE Linux 8.0/MySQL 3.23.57:
=============== =============== =============
alter-table: Total time: 230 wallclock secs
ATIS: Total time: 36 wallclock secs
big-tables: Total time: 32 wallclock secs
connect: Total time: 89 wallclock secs
create: Total time: 90 wallclock secs
insert: Total time: 2895 wallclock secs
select: Total time: 1502 wallclock secs
wisconsin: Total time: 20 wallclock secs

.... snip ....

insert 190.00
insert_duplicat es 39.00
insert_key 140.00
insert_many_fie lds 10.00
insert_select_1 _key 5.00
insert_select_2 _keys 7.00

.... snip ....

update_big 33.00
update_of_key 35.00
update_of_key_b ig 22.00
update_of_prima ry_key_many_key s 28.00
update_with_key 178.00
update_with_key _prefix 44.00
These are hopefully relevant parts of the my.cnf I used:

[mysqld]
skip-locking
set-variable = key_buffer=64M
set-variable = max_allowed_pac ket=1M
set-variable = table_cache=256
set-variable = sort_buffer=4M
set-variable = net_buffer_leng th=8K
set-variable = record_buffer=1 M
set-variable = thread_cache=8
set-variable = myisam_sort_buf fer_size=8M
log-bin
server-id = 1

[mysqldump]
quick
set-variable = max_allowed_pac ket=16M

[mysql]
no-auto-rehash

[isamchk]
set-variable = key_buffer=20M
set-variable = sort_buffer=20M
set-variable = read_buffer=2M
set-variable = write_buffer=2M

[myisamchk]
set-variable = key_buffer=20M
set-variable = sort_buffer=20M
set-variable = read_buffer=2M
set-variable = write_buffer=2M

--
Sorry, <de*****@cauce. org> is een "spam trap".
E-mail adres is <jpk"at"akamail .com>, waarbij "at" = @.
Jul 19 '05 #1
0 1832

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
1881
by: Duncan Lissett | last post by:
I'd appreciate any suggestions on how to make faster Python implementations of Richards benchmark. Perhaps there are obvious problems that can be corrected? http://www.lissett.com/ben/bench1.htm
6
2649
by: Franco Fiorese | last post by:
Hi all, I am relatively new about Python benchmarks. After some experiments I found that Python on my PC Windows XP has a relevant higher performance than on Linux. The simple test using pystone.py shows this: * Windows XP Pro: 16566.7 pystones/second * Linux (kernel 2.6.9 NPTL): 12346.2 pystones/second I have repeated the test, on Linux, also with other distributions and
0
2084
by: julio | last post by:
Hello Guys, AlphaServer EV6 processor 500mhz/1Gm memory with Linux mysql> SELECT BENCHMARK(1000000,ENCODE("hello","goodbye")); +----------------------------------------------+ | BENCHMARK(1000000,ENCODE("hello","goodbye")) | +----------------------------------------------+ | 0 |
0
1445
by: Jan Pieter Kunst | last post by:
I recently ran the MySQL benchmark suite on a Dual 1 GHz G4 running Mac OS X Server 10.2.8, and an 800 MHz Intel machine running SuSE Linux 8.0. Both installations used the same my.cnf file. The results are comparable in all benchmarks except one: the 'insert'. In that one, the Mac is more than twice as slow. Below are the benchmark results for boch machines, and the my.cnf I used. I was wondering if there is something I can do,...
5
1474
by: SARS | last post by:
Here's all the OSS Benchmarks run so far -- so far no Windos challengers... http://home.earthlink.net/~jabailo/OSS%20Benchmark.pdf The source is here: http://home.earthlink.net/~jabailo/limit-cpu.c
3
3006
by: Steve | last post by:
Hi, I'm currently looking a porting our Windows Codewarrior based C++ projects to MinGW and/or Visual Studio and I'm just wondering if there is a 'standard' suite of benchmark programs I can download and compile on the various environments that will give me an idea on the relative performance of each STL? For example - a test program that will run through, say, appending one character to a string 1000000 times, copying vectors,...
2
2287
by: um | last post by:
When the POSIX pthreads library for w32 release 2-2-0 (http://sources.redhat.com/pthreads-win32/) is compiled with VC++6 then it compiles and passes all the benchmark tests in the subdirectory "tests". Also, VC++ 2005 beta 1 compiles the tests fine, but here the following tests fail in execution: # semaphore1.pass \ # condvar2.pass \ # condvar2_1.pass \ # mutex8.pass \
5
1403
by: shawn.oda | last post by:
What are the diferences between ms visual c++ compiler and linux c++ compiler? Best regards, shawn.oda@bankarea.com http://www.poweroversoftware.com
2
1198
by: Mike P | last post by:
Hi All, I'm trying to use the CSV module to read in some data and then use a hashable method (as there are millions of records) to find unique ids and push these out to another file, can anyone advise? Below is the code so far fin = open(CSV_INPUT, "rb")
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10324
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10090
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9949
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5380
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.