Posts tagged ‘systemd’

tl;dr: Why systemd?

What?

  • systemd is a system and service manager for Linux, compatible with SysV and LSB init scripts.
  • It can act as a drop-in replacement for SysVinit.
  • Arch Linux will eventually fully migrate to systemd.

When?

  • When it’s ready. For the foreseeable future, both SysVinit and systemd will be supported.

Why?
(From tomegun @ Arch Forums)

  • It’s hot-pluggable.
  • It tracks all daemons and processes.
  • It’s modular.
  • It makes better use of udev and dbus.
  • It reduces dependencies between daemons.
  • It’s easier to sandbox configuration options.
  • It’s a cross-distro project.
  • It can use distro-independent service files.
  • It uses logind to properly manage user sessions.
  • It’s faster or just as fast as SysVinit for most users.

SSD + GPT + grub2 + systemd

Summary of my new Arch setup optimised for SSD. See ArchWiki for more tweaks.

Background

  • Specs: GA-EP45-DS3L, C2D E8400, 4GB DDR2, 512MB HD4850, 1x 640GB WD Black, 2x 1TB WD Green
  • Purchased: 120GB Intel 330 SSD

BIOS/UEFI settings

  • Firmware: EFI/UEFI instead of BIOS
  • SATA Mode: AHCI instead of IDE

Pre Installation

  • Partition: GPT instead of MBR

Arch Installation

  • Filesystem: ext2 for /boot; ext4 for the rest
  • fstab options: noatime, discard
  • Bootloader: GRUB2 instead of GRUB1/GRUB Legacy

Post Installation

  • Init: systemd instead of sysvinit
  • I/O scheduler: noop instead of cfq

Misc Output

systemd-analyze, gdisk, df, fstab, ls: https://gist.github.com/3107896