Skip to content

u/randomweej

In this archive from Apr 2015 to Apr 2017

0
posts
36
comments
0
media
68
score

15.6 seconds on a 5200rpm laptop hdd with grub. full mate desktop, pulseaudio, networkmanager, bluetooth and lightdm.

looking at systemd-analyze plot: I could disable the bluetooth and networkmanager systemctl startup scripts. use netctl to connect to wifi. that would maybe gain a second or two. dropping lightdm and using systemd to autologin .xinitrc t start the DE would probably gain another.

skipping the root partition check in /etc/fstab would probably drop a few as well. as long as home is checked and my data is safe I don't mind reinstalling.

using e4rat or installing to an ssd would probably cut that boot time in half.

1 points

It doesn't give higher performance on single jobs but it helps quite a bit with desktop responsiveness on cpu bottlenecked systems.

I get a few extra fps on the quake3 timedemo. nothing massive with just the kernel swap. it's all the combined tweaks that add up.

1 points

the gentoo install I had certainly performed slightly better but was a lot more effort to maintain. at that point the performance wasn't worth sacrificing convenience. this is a nice compromise.

I only recompile a few select packages that bring the largest performance benefits, editing a few text files takes moments. I leave the computer to compile when it would otherwise go unused so I doesn't feel I'm wasting time.

the arch build system automates most of the process.

3 points

first thing I do is add xorg, linux, linux-zen, gstreamer to the pacman ignore list. and add CFLAGS="-march=native -O2 -pipe -fstack-protector-strong" CXXFLAGS="${CFLAGS}" to my makepkg.conf

using the ABS I recompile the zen kernel with preempt and 1000hz tick specifically for my Atom processor. and recompile Xorg, xf86-video-intel and gstreamer.

modify the systemd /etc/systemd/journalctl.conf to only use 25M as a max usage. in /etc/pulse/daemon.conf i set the resample method to "copy", and I set the channels and fragment size.

I keep the install quite slim using the mate-desktop, pulseaudio, networkmanager, the midori web browser and gnome-mplayer. before all this i could barely watch 480p video. now 720p is smooth so there's an obvious improvement.

you don't need to update the base system constantly so recompiling the kernel or xorg once every few months when the machine is idle isn't such a hassle. just as long as internet facing software receives security updates it's ok to be a few months behind on packages.

26 points

In order to have the device active after a reboot, a udev rule is needed:

/etc/udev/rules.d/10-local.rules

# Set bluetooth power up
ACTION=="add", KERNEL=="hci0", RUN+="/usr/bin/hciconfig hci0 up"

and "/etc/systemd/system/bluetooth-auto-power@.service"

[Unit]
Description=Bluetooth auto power on
After=bluetooth.service sys-subsystem-bluetooth-devices-%i.device suspend.target

[Service]
Type=oneshot
ExecStart=/usr/bin/hciconfig %i up

[Install]
WantedBy=suspend.target

and enable an instance of the unit using your bluetooth device name, for example bluetooth-auto-power@hci0.service

https://wiki.archlinux.org/index.php/bluetooth#Configuration_via_the_CLI

2 points

sorry i'm none the wiser really when it comes to the specifics of the intel gpu's. i know i had to do similar in /etc/environment to get my amd gpu working with accelerated video.

the linked wiki only mentions the hd4500 and up. i know the hardware is capable but i'm unsure if the software is.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.