diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/0.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/0.jpg new file mode 100644 index 0000000..b61e2cc Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/0.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/1.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/1.jpg new file mode 100644 index 0000000..5b047ac Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/1.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/10.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/10.jpg new file mode 100644 index 0000000..1197a6d Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/10.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/11.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/11.jpg new file mode 100644 index 0000000..555e3a9 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/11.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/12.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/12.jpg new file mode 100644 index 0000000..a9f5f3e Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/12.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/13.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/13.jpg new file mode 100644 index 0000000..7ecc18b Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/13.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/14.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/14.jpg new file mode 100644 index 0000000..4f10969 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/14.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/15.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/15.jpg new file mode 100644 index 0000000..7a2bfbb Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/15.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/16.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/16.jpg new file mode 100644 index 0000000..e3aac04 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/16.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/17.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/17.jpg new file mode 100644 index 0000000..65a5d40 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/17.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/18.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/18.jpg new file mode 100644 index 0000000..3e06485 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/18.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/19.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/19.jpg new file mode 100644 index 0000000..07ed4b8 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/19.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/2.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/2.jpg new file mode 100644 index 0000000..b5c39a5 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/2.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/21.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/21.jpg new file mode 100644 index 0000000..1a6160e Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/21.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/22.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/22.jpg new file mode 100644 index 0000000..be457a4 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/22.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/23.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/23.jpg new file mode 100644 index 0000000..02f1639 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/23.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/24.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/24.jpg new file mode 100644 index 0000000..94424c5 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/24.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/26.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/26.jpg new file mode 100644 index 0000000..0bb8746 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/26.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/27.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/27.jpg new file mode 100644 index 0000000..8743a8b Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/27.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/28.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/28.jpg new file mode 100644 index 0000000..2219b8c Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/28.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/3.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/3.jpg new file mode 100644 index 0000000..4378b11 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/3.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/30.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/30.jpg new file mode 100644 index 0000000..528274d Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/30.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/4.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/4.jpg new file mode 100644 index 0000000..0024c0a Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/4.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/5.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/5.jpg new file mode 100644 index 0000000..57f2ad0 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/5.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/6.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/6.jpg new file mode 100644 index 0000000..24f2df3 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/6.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/8.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/8.jpg new file mode 100644 index 0000000..a2f0914 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/8.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/9.jpg b/_media/2017-04-25-a-new-fan-for-the-processor/9.jpg new file mode 100644 index 0000000..90ac97a Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/9.jpg differ diff --git a/_media/2017-04-25-a-new-fan-for-the-processor/fan_control_report.png b/_media/2017-04-25-a-new-fan-for-the-processor/fan_control_report.png new file mode 100644 index 0000000..09ca530 Binary files /dev/null and b/_media/2017-04-25-a-new-fan-for-the-processor/fan_control_report.png differ diff --git a/_pages/about.md b/_pages/about.md index 4d550c4..f3025c9 100644 --- a/_pages/about.md +++ b/_pages/about.md @@ -21,7 +21,8 @@ knows what the future will hold us... At the moment I am a proud [Parabola GNU/Linux-libre](https://parabola.nu) user running a very lightweight desktop environment like [spectrwm](http://www.spectrwm.org) after going through years of -[OpenBox](http://openbox.org) +[OpenBox](http://openbox.org). I use [Replicant](http://www.replicant.us/) for +the mobile phone. I hope that this turns out to be a useful blog for anyone that encouters similar problems I have solved. diff --git a/_posts/2017-04-24-qemu-ssh-tunnel.md b/_posts/2017-04-24-qemu-ssh-tunnel.md index eda7d3e..c7143c6 100644 --- a/_posts/2017-04-24-qemu-ssh-tunnel.md +++ b/_posts/2017-04-24-qemu-ssh-tunnel.md @@ -1,6 +1,6 @@ --- title: Qemu SSH tunnel -updated: 2017-04-24 19:00 +updated: 2017-04-26 20:00 tags: [qemu, vnc, ssh tunnel] description: How to use qemu via VNC and SSH --- @@ -24,8 +24,12 @@ Now, some time ago I've written a VirtualBox is not available on Parabola and I don't like the available QEMU frontends. -So, after about 1 hour of information retreival throughout Internet articles I -was able to connect all the dots... Here it is. +So, after about 1 hour of information +[retrieval](http://blog.scottlowe.org/2013/08/21/accessing-vnc-consoles-of-kvm-guests-via-ssh/) +[throughout](https://www.dragonsreach.it/2012/10/06/ssh-tunneling-for-vnc/) +[Internet](https://www.cyberciti.biz/faq/linux-kvm-vnc-for-guest-machine/) +[articles](https://www.cyberciti.biz/faq/howto-setup-vnc-server-ssh-client-tunnel-via-internet/) +I was able to connect all the dots... Here it is. ## Premise @@ -160,9 +164,3 @@ attention. Cheers! -## Resources - -- -- -- -- diff --git a/_posts/2017-04-25-a-new-fan-for-the-processor.md b/_posts/2017-04-25-a-new-fan-for-the-processor.md new file mode 100644 index 0000000..ba28e0b --- /dev/null +++ b/_posts/2017-04-25-a-new-fan-for-the-processor.md @@ -0,0 +1,157 @@ +--- +title: A new fan for the processor +updated: 2017-04-25 19:00 +tags: [fan, cpu] +description: +--- + +Hello again, + +Some time ago I upgraded the CPU fan because I noticed that the stock one +was broken. + +Here's the whole story. + + + +A couple of years ago I put in a cheap case fan retrieved from a 2003 +computer just to keep things cooler. The problem of this +[small fan](https://encrypted.google.com/search?hl=en&q=smaller%20fan%20more%20noise) +was the tremendous noise which I couldn't bare anymore. + +So, some months ago I decided to open the computer and I was +surprised in discovering that the CPU fan wasn't working. Now I had two +problems: the noise and one broken fan. I took drastic measures: I pulled out +the noisy fan and the broken fan. Then I tested the CPU temperatures using `$ +sensors` from the `lm_sensors` package. I found out that the temperatures got +up to about 80 °C which is unacceptable for a CPU. I needed to try something +else. + +I then went into the BIOS options and I heavily undercloked the CPU to obtain +temperatures like these (however I don't remember the exact clock values): + +```shell +[parabola@ppc ~]$ sensors +temp2: +50.0°C (high = +80.0°C, hyst = +75.0°C) +temp3: +46.5°C (high = +80.0°C, hyst = +75.0°C) +Core 0: +69.0°C (high = +80.0°C, crit = +100.0°C) +Core 1: +63.0°C (high = +80.0°C, crit = +100.0°C) +Core 2: +66.0°C (high = +80.0°C, crit = +100.0°C) +Core 3: +66.0°C (high = +80.0°C, crit = +100.0°C) +``` + +I went on like this for months but, as you can imagine, the computer was a bit +slow and laggy especially using Iceweasel. + +It was time to buy a new fan and heat sink. So I bought a [Cooler Master Hyper +212X](https://www.amazon.it/Cooler-Master-Hyper-212X-Ventola/dp/B01ARGVNV6) +for about 30 euros (which seems to be a very reasonable price). This +choice was made because of various factors (in decreasing order of importance): + +- The compatibility with my [`LGA 775`](https://en.wikipedia.org/wiki/LGA_775) + motherboard +- The price +- The reiews +- Noise information declared +- Thermal paste included (which saves some euros from shipping) + +Once I got the fan the hard part arrived: I had to remove the motherboard from +the case to work comfy. This was the first time for me but it well better than +I expected, except for a minor irritation at the end. + +{% include image.html file="0.jpg" alt="box 0" caption="The fan box" %} +{% include image.html file="1.jpg" alt="box 1" caption="Technical information +reported on the box" %} +{% include image.html file="2.jpg" alt="box 2" caption="The back of the box" %} +{% include image.html file="3.jpg" alt="unboxing 0" caption="Unboxing" %} +{% include image.html file="4.jpg" alt="unboxing 1" %} +{% include image.html file="5.jpg" alt="unboxing 2" %} +{% include image.html file="6.jpg" alt="unboxing 3" %} +{% include image.html file="8.jpg" alt="test 0" caption="Test and comparison +with old heatsink before assembly. You may already see a problem here :)" %} +{% include image.html file="10.jpg" alt="test 1" %} +{% include image.html file="11.jpg" alt="test 2" %} +{% include image.html file="12.jpg" alt="test 3" %} + +I took some pictures to rember how the cabling should be. + +{% include image.html file="13.jpg" alt="cabling 0" %} +{% include image.html file="14.jpg" alt="cabling 1" %} +{% include image.html file="15.jpg" alt="cabling 2" %} +{% include image.html file="16.jpg" alt="cabling 3" %} +{% include image.html file="17.jpg" alt="cabling 4" %} +{% include image.html file="18.jpg" alt="cabling 5" %} +{% include image.html file="19.jpg" alt="cabling 6" %} +{% include image.html file="21.jpg" alt="motherboard 0" caption="Mother board +with the heatsink mounted" %} +{% include image.html file="22.jpg" alt="motherboard 1" caption="Everything +back in place. Ready to test" %} +{% include image.html file="28.jpg" alt="case 0" caption="Case mods or it won't +fit" %} +{% include image.html file="30.jpg" alt="case 1" %} + +I didn't take exact measurements so I knew there was that risk. Since it's an +old PC I don't really care about the case. If you have a new PC i suggest you +take measurements to see if a potential new internal component fits before you +buy it. + +At this stage I powered up the computer. The new fan seemed to work fine so I +removed the undercloking BIOS settings. + +## Use of fancontrol + +Finally I configured fancontrol to control automatic throttling of the fan +based on the CPU temperature. I used the CLI tool called `pwmconfig` in manual +mode otherwise it wouldn't detect the fan. Once the tool finished it generated +a configuration file and the gnuplot chart below. This chart is not really +useful to us because it correlates RPMs with PWMs instead of RPMs and +temperature. It just shows how the computer will handle the fan to get it to a +certain speed. + +{% include image.html file="fan_control_report.png" alt="Fan report" %} + +Here is the new `sensors` information + +``` +w83627dhg-isa-0290 +Adapter: ISA adapter +fan2: 1506 RPM (min = 33750 RPM, div = 8) +temp1: +32.0°C (high = +25.0°C, hyst = +31.0°C) +temp2: +34.0°C (high = +80.0°C, hyst = +75.0°C) +temp3: +44.5°C (high = +80.0°C, hyst = +75.0°C) +Core 0: +55.0°C (high = +80.0°C, crit = +100.0°C) +Core 1: +50.0°C (high = +80.0°C, crit = +100.0°C) +Core 2: +52.0°C (high = +80.0°C, crit = +100.0°C) +Core 3: +52.0°C (high = +80.0°C, crit = +100.0°C) +``` + +Much better! + +The final thing to do was to add `fancontrol` as a system service. + +## Overclocking? + +Is it a good idea to overclock now that temperature is not a problem anymore? +In my case the answer is no. + +{% include image.html file="23.jpg" alt="bios setings 0" caption="((2650 / 2333 +MHz) * +100) - 100 = + 13.59% clocking" %} + +{% include image.html file="24.jpg" alt="bios settings 1" caption="380 * 7 MHz += 2660 MHz. Maybe too much?" %} + +{% include image.html file="26.jpg" alt="bios settings 2" caption="If I don't +increase the +CPU voltage the BIOS screen won't even come up and the BIOS settings need to +be cleared manually" %} + +{% include image.html file="27.jpg" alt="kernel panic" caption="Here's what +happens" %} + +Even at 10% (+10% means 110% of overall clock) +I had kernel panics sooner or later, although I could see it was faster. This +is probably due to the power supply which is not able to stand more electric +consumption. So I gave up overclocking. Too bad... + +Till next time.