Wed Apr 11 22:23:28 CEST 2012

Performance of full disk encryption with LUKS on an SSD

Test procedure


Repeat five times:
  • mount partition
  • copy using dd:
    • reading from USB and writting to SSD
    • reading from SSD and writting to /dev/null
  • umount partition

Test setups

  • no encryption
  • LUKS defaults
  • LUKS aes-xts-plain64

Results

Read

algorithmtransfer speedperformance penalty
no encryption862 MB/s0%
LUKS default797 MB/s7.5%
LUKS aes-xts-plain64833 MB/s3.4%

Write

algorithmtransfer speedperformance penalty
no encryption36.0 MB/s0%
LUKS default30.7 MB/s14.7%
LUKS aes-xts-plain6430.6 MB/s15.0%

Posted by khanku | Permalink

Mon Apr 9 08:44:41 CEST 2012

Collection of news and links 2012#1


Posted by khanku | Permalink

Sat Feb 4 18:42:10 CET 2012

Gentoo Linux on a MacBookAir4,1

Installing Linux on the MBA4,1 is not particularly difficult though the lack of network connectivity (the wireless chipset isn't supported by the default Gentoo Live CD) makes it a tad more challenging.

tl;dr:
  • shrink osx partition and create a new one
  • boot from usb
    • modifying the image.squashfs to contain the wl kernel module (broadcom-sta) and wpa_supplicant(.conf)
    • recompiling the kernel to include brcsmac (kernel >=3.1)
  • prepare grub.conf
  • put kernel, initramfs and grub.conf on the EFI system partition
  • put image.squashfs on a USB stick

Read the article.


Posted by khanku | Permalink | Categories: macbook