Skip to content

[performance] [optimisation] [troubleshooting] Arch vs Windows : why are performance on my Arch way worse?

As the title says I have been toying around our beloved Arch for quite a while. Right now I am running it on a Lenovo z50-75 with upgraded RAM (8+4 GB) and an internal SSD however when comparing temperature, noise and battery life to Windows 10, though Arch consumes way less resources, it fares way worse.

On windows with a moderate workload battery life at full perfomance stands at 4 hours and half to 5 maximum with peaks of 7 when power saving settings are enabled (this of course with my new shiny SSD) with nearly no fan noise or heat.

I built my Arch to be very lightweight as I like speed, I just use i3 with no DE, and usually have open firefox with 5-6 tabs, termiinator with up to 5 terminals, vim, atom, spotify and few other small footprints programs. Overall RAM usage is always around 1.7 GB, which is lower than my empty windows. Battery life, but most importantly fan noise is way louder. It seems that is always venting at non stop speed ,which compared to Win10 which under a normal load is completely silent, sucks a lot. Arhc also fails to display my RAM correctly as itt says that I have a mximum of 7 GB while it should display at least 11-12 GB.

Is there something I can do to diagnose what is going on or to improve my performance? I tried searching on the wiki but I can't find anything on this.

20 points16 comments
Open on Reddit
About this post
Posted
Archived
Score
20 · 100% up
Kind
Text
ID
40dasm

Author

15
posts
35
comments
3
media
View profile

18 comments

Arch by default may not have a performance/battery tuning service. I don't know if arch recommends a specific one?

Tuned I normally use.

Available profiles: - desktop-powersave - enterprise-storage - server-powersave - default - throughput-performance - laptop-battery-powersave - spindown-disk - latency-performance - laptop-ac-powersave

16 points

Are they from the official repository or the AUR?

1 points

More likely than anything you don't have tlp configured which turns on high performance mode when plugged in, and goes to powersave when running on battery. And yes it should be in the repos.

2 points

I'd start by setting up tlp and using powertop to watch for any unexpected battery drain.

10 points

Arhc also fails to display my RAM correctly as itt says that I have a mximum of 7 GB while it should display at least 11-12 GB.

What are you using to check your RAM stats?

5 points

Yeah, a certain percentage of RAM will be used for /tmp as a ramdrive. Some programs will display the full amount for the system while others will display the amount that is available apart from the tmpfs.

1 points

NEWER EDIT:

From some reading online, I am inclined to believe that the fan noise issue is due to the fact that my pc actually is an IdeaPad and thus fan need to be configured with tools like thinkfan. HOWEVER I did install thinkfan, went into /etc/modprobe.d/thinkfan.config and added the line "options thinkpad_acpi fan_control=1" I then tried to follow the instruction found HERE but with no result.

As for the ssoftware I use to test my mem, I noticed it while doing Screenfetch an confirmed it with command whose nameI cannot quite recall that showed used mem, total mem, cache, swap etc...

4 points

The command you used was probably free. Keep in mind that the used column includes cache, so using 4GB out of 4GB is normal. The available column shows actual "free" RAM available to applications.

3 points

That was changed at some point. The version of "free" that's in Arch right now does not add cache in the 'used' column. The number I see for 'used' is smaller than what I get if I subtract 'available' from 'total'.

In this version of "free", the only thing that can still be misunderstood is that there's a 'free' and an 'available' column. People have to know that the 'available' number is the interesting one, and that the 'free' number doesn't really matter.

2 points

What kind of graphics card do you have? Poor drivers can also be a source of high power use.

2 points

I have an AMD FX-7500 Radeon R7, 10 Compute Cores 4C+6G @ 1.1GHz

Though I am not really sure I have the latest optimised driver. Considering that I would like to be able to turn off and on my gpu as I don't really need it since I am not gaming/3D rendering that much which driver should I get? The xf86-video-ati or try the proprietary ones? I also tried to follow "Fan Speed Control" section of the wiki but I got stuck at the first passage since this is what my sensors display:

fam15h_power-pci-00c4 Adapter: PCI adapter power1: N/A (crit = 18.96 W)

k10temp-pci-00c3 Adapter: PCI adapter temp1: +36.1°C (high = +70.0°C) (crit = +100.0°C, hyst = +99.0°C)

radeon-pci-0008 Adapter: PCI adapter temp1: +36.0°C (crit = +120.0°C, hyst = +90.0°C)

radeon-pci-0100 Adapter: PCI adapter temp1: N/A (crit = +120.0°C, hyst = +90.0°C)

thinkpad-isa-0000 Adapter: ISA adapter fan1: 0 RPM

EDIT: I have just ran a little check and I do have both ati and Intel video drivers installed. xf86-video-ati and xf86-video-intel

1 points

The open-source radeon driver doesn't allow to control fan speed. AMDGPU might but that's in the kernel and you'd still need the Catalyst blob to control it.

3 points

I did install and configure powertop and ltp, they work like a charm. So just two more problem to go. For what concerns the RAM yes, I used free to check it but it may as well be that my 4GiB stick died (I salvaged it from an old laptop) however right now the sensors/fans issues worries me the most.

As I wrote in an earlier post I tried to follow the wiki entries on fan control speed control yet unsuccessfully. The problem seems to lie in the fact that my ISA adapter is a Lenovo Adapter. I then tried to follow the entry on configuring fan control on thinkpad laptop however I was unable to install the right packages since they are located in the aur-archive and I am not sure on how to download packages from it. I tried configuring thinkfan enabling it il t he kernel with modprobe.d but it did not work. CPU temperature are stable around the 34-37Celsius degrees range (cup usage is way low)

2 points

idk about battery life as all laptops i've seen lasted longer in windows than in linux, usualy due to the graphics drivers having more power saving optimizations

the cpu itself has quite good support for power saving

i have fancountrol on my desktop and you have to try really hard to get it to raise the rpm from min

right now the cpu is at idle and temps are

Physical id 0: +29.0°C (high = +80.0°C, crit = +100.0°C)

Core 0: +26.0°C (high = +80.0°C, crit = +100.0°C)

Core 1: +28.0°C (high = +80.0°C, crit = +100.0°C)

Core 2: +26.0°C (high = +80.0°C, crit = +100.0°C)

Core 3: +29.0°C (high = +80.0°C, crit = +100.0°C)

thats slightly above ambient

drives are all around 30

fans are at (1 is the cpu fan)

fan1: 1018 RPM (min = 10 RPM)

fan2: 0 RPM (min = 10 RPM)

i5 haswell 4460

1 points
unknown author

Deleted before we saved it.

1 points

You need a power control tool like tlp. Just install it and its dependencies, start and enable tlp service, and you are good to go

1 points
unknown author

Deleted before we saved it.

0 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.