June 19, 2013

Post: SHOW INNODB STATUS walk through

… very large amount of spin waits and spin rounds significant CPU resources may be wasted. It should come to hundreds of… really worry for most CPUs. innodb_sync_spin_loops can be used to ballance between wasting CPU time running spin locks and… you can see IO bound workload with hit rate of 995/1000. ————– ROW OPERATIONS ————– 0 queries inside InnoDB, 0 queries in queue…

Post: How multiple disks can benefit for single client workload ?

… call cases when too much of logical IO is happening CPU bound. The beauty of this terminlogy (and so why I use… is very easy to see if system is IO bound or CPU bound, while to understand if MySQL goes through more rows than… request can only be issued after previous request is completed. Innodb tries to optimize these reads a bit – there is sequential…

Post: MySQL Performance on Memory Appliance

… iostat never went over few percents and load was mostly CPU bound. Next I went on testing MySQL. My goal was to… I could not investigate where exactly CPU is wasted. My first obvious quess was Innodb checksumming (innodb_checksums=0) and indeed that allowed… of Innodb already) which scaled to 70.000 queries/sec peaking out at 16 threads. However even with MyISAM we got CPU bound

Post: SystemTap - DTrace for Linux ?

…profile not CPU-bound load (for CPU-bound there is OProfile, see for example http://mysqlinsights.blogspot.com/2009/08/oprofile-for-io-bound-apps…find_flag=? ) innodb_srv_conc_enter_innodb(trx=? ) srv_conc_enter_innodb(trx=0x2aaaaaddb8b8 ) innodb_srv_conc_exit_innodb(trx=? ) srv_conc_exit_innodb(trx=…

Post: Shard-Query adds parallelism to queries

CPU bound. What data did I use? I loaded 55GB of the same data used in this earlier post into a partitioned InnoDB…-01′) ENGINE = InnoDB, … PARTITION p253 VALUES LESS THAN (’2008-12-01′) ENGINE = InnoDB, PARTITION p254 VALUES LESS THAN (MAXVALUE) ENGINE = InnoDB) */ What queries… increasing the number of workers past 24. The query becomes CPU bound at that point. If I needed more performance I could…

Post: PBXT benchmarks

… also use CPU bound workload in this case (no disk IO) to see how efficient storage engines are in terms of CPU usage… / InnoDB and pbxt-0.9.85-beta.tar.gz Compilation parameters: For MyISAM / InnoDB ./configure –prefix=/usr/local/mysqltest/mysql- –with-innodb Method… values. PBXT is much worse here because of InnoDB clustering by primary key. InnoDB does not need an extra lookup to access…

Post: Sysbench evaluation of iSCSI performance

… (that one is pretty small and would typically keep load CPU bound) The image with results raises a lot of questions – why… could be for example it is log write bound rather than tablespace IO bound, which does not really benefit from multiple hard… – regression with many threads often happens with Innodb if load becomes CPU bound rather than Disk bound. I would also be especially careful making…

Post: InnoDB, InnoDB-plugin vs XtraDB on fast storage

….551 NOTPM InnoDB-plugin is 1.6x times better InnoDB, and XtraDB is 1.7x times better InnoDB-plugin. Now on CPU usage and disk utilization. Disk throughput: CPU (user) usage… performance improvement in IO-intensive or IO-bound workloads. You may want to use InnoDB-plugin or XtraDB to get better results…

Comment: XtraDB benchmarks - 1.5X gain in IO-bound load

… of notes here 1) Even though Vadim called it IO bound benchmark, it is not completely the case. With data just…. It would be interesting to see results for completely CPU bound and IO bound benchmarks too. I would guess at this data size…) The “emulated” IO workload, by small buffer pool size and innodb_flush_method=O_DIRECT is close but not always the…

Post: Detailed review of Tokutek storage engine

… that TokuDB can keep in memory much more records then InnoDB / MyISAM. Actually in internal cache records are stored in uncompressed… memory. As you see in IO-bound case TokuDB outperforms InnoDB 1.4-2.5x times, but CPU-bound is not so good. I… binary form and mysqld binary does not contain InnoDB. Tokutek tells me that InnoDB will be included in a future release. With…