lefred

lefred

I am MySQL Community Manager for EMEA & APAC. I joined the MySQL Community Team in May 2016. I have been an OpenSource and MySQL consultant for more than 15 years. My favorite topics are High Availability and Performance.

CentOS 6 very slow with Vagrant

I use Vagrant to test almost everything. But since I upgraded to VirtuabBox 4.2.x and CentOS 6 as guess OS, I had the impression that everything was slower... and I get use to it... But this week-end while preparing selinux policies for Percona XtraDB Cluster, I noticed that it was really slow.... really really very very slooooow :'-( And I found the reason ! I first tried to add some kernel parameters like :
noacpi 
noapic 
divider=10 
notsc
But that didn't help. Then I just enabled IO APIC on the VM's configuration and it worked much faster ! The boot of the machine was faster and in my case loading selinux policies too ! Have a look to the difference: Without IO APIC:
[root@node2 ~]# time semodule -i percona-xtradb-cluster-full.pp

real	6m3.646s
user	1m34.430s
sys	3m42.805s
With IO APIC:
[root@node2 ~]# time semodule -i percona-xtradb-cluster-full.pp

real	0m14.611s
user	0m13.829s
sys	0m0.769s
To enable IO APIC from Vagrant, these are the parameters to use in your Vagrantfile:
config.vm.customize ["modifyvm", :id, "--memory", "256", "--ioapic", "on"]

Percona XtraDB Cluster init script for Debian/Ubuntu patch

On mysqlperformanceblog, I wrote on what was an easy solution to initialize a PXC cluster without modifying the configuration file (my.cnf) but only by providing a parameter to the init script. (link to that post) Unfortunately, this works only on RedHat systems (including CentOS, Fedora... For Debian/Ubuntu, I wrote a minimal patch allowing that. The patch is attached to this post. Enjoy !

hamster-time-tracker for Fedora 18

To track my time I used hamster-applet with the previous version of Fedora and I really liked it. It integrates perfectly with gtg. This project hasn't be ported to Fedora 18, see bug 882788. I decided then to package the latest version of the project. The git repo is available here. You can see some screenshots here. If you enjoy or discover this cool project, I'm happy to make it available for Fedora 18. [UPDATE] I added the packages for F19 ;-)

GTG 0.3

Getting Things GNOME! has been released on November 6th but I was able to test it only tonight ;-) So far, I'm very pleased by this release and to be honest this seems to be the first time synchronization with Remember the Milk is working (I used it on my n900 and I plan to use it know on my android.... but I need to wait 22h before next sync) I've also installed the integration with gnome-shell very quickly and it seems awesome ! The development team as done a very nice job... If you plan to test it, I've packaged this release for Fedora 17.

As MySQL Community Manager, I am an employee of Oracle and the views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

You can find articles I wrote on Oracle’s blog.