User:GNUtoo/compilation

From ParabolaWiki
Jump to: navigation, search

1 Description

Fast machine used to compile stuff, totally untrusted (Mine has no coreboot, and has an ME).

2 Setup

Disk I/O is also important for compilation, The hdd power management were reducing drastically their speed.

#  This file is not part of systemd.
#
#  this file is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

[Unit]
Description=Restore a decent HDD speed.
#DefaultDependencies=no
#Wants=display-manager.service
#After=display-manager.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/hdparm -B 255 /dev/sda
ExecStart=/usr/bin/hdparm -B 255 /dev/sdb

[Install]
WantedBy=multi-user.target