[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

AppArmor affects testsuite speed on Linux

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 20 Aug 2010 15:34:30 +0100

I was wondering why the regression tests were substantially slower on
my laptop running Ubuntu/Lucid compared to my desktop running
Debian/stable. The laptop is newer and I was expecting it to be about
10% slower than the desktop, yet the laptop takes 17mins compared to
10mins for the desktop. It turns out to be AppArmor, installed by
default in Ubuntu. Disabling AppArmor reduces the laptop time to
12mins, a considerable speed increase.

It might be possible to selectively disable AppArmor, but I simply
disabled it globally: add "apparmor=0" to GRUB_CMDLINE_LINUX_DEFAULT
in /etc/default/grub, run update-grub and reboot.

-- 
Philip
Received on 2010-08-20 16:35:14 CEST

This is an archived mail posted to the Subversion Dev mailing list.