<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Louwrentius - Hardware</title><link href="https://louwrentius.com/" rel="alternate"/><link href="https://louwrentius.com/feeds/hardware.atom.xml" rel="self"/><id>https://louwrentius.com/</id><updated>2026-01-23T12:00:00+01:00</updated><entry><title>What will you do when AI runs out of money and disappear?</title><link href="https://louwrentius.com/what-will-you-do-when-ai-runs-out-of-money-and-disappear.html" rel="alternate"/><published>2026-01-23T12:00:00+01:00</published><updated>2026-01-23T12:00:00+01:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2026-01-23:/what-will-you-do-when-ai-runs-out-of-money-and-disappear.html</id><summary type="html">&lt;p&gt;All major AI services like ChatGPT or Claude are heavily subsidised by investors. It's not just the initial investment — it's the running costs of these major AI services that are also astronomical.&lt;sup id="fnref:see"&gt;&lt;a class="footnote-ref" href="#fn:see"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;At some point the money will run out. Assuming that &lt;a href="https://www.wheresyoured.at"&gt;Ed Zitron&lt;/a&gt; is right about his assessment …&lt;/p&gt;</summary><content type="html">&lt;p&gt;All major AI services like ChatGPT or Claude are heavily subsidised by investors. It's not just the initial investment — it's the running costs of these major AI services that are also astronomical.&lt;sup id="fnref:see"&gt;&lt;a class="footnote-ref" href="#fn:see"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;At some point the money will run out. Assuming that &lt;a href="https://www.wheresyoured.at"&gt;Ed Zitron&lt;/a&gt; is right about his assessment of the AI market (and he's not alone in his assessment), the current big AI services are not sustainable. And there seems to be no realistic path to profitability.&lt;/p&gt;
&lt;p&gt;How are the big AI providers going to make &lt;a href="https://www.wheresyoured.at/big-tech-2tr/"&gt;$2 Trillion&lt;/a&gt; in the next 4 years?&lt;/p&gt;
&lt;p&gt;So what happens when money runs out? When the music stops, will there be any chairs at all?&lt;/p&gt;
&lt;p&gt;I see two major scenarios:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The AI services are just shutdown overnight&lt;/li&gt;
&lt;li&gt;The AI services are priced according to actual cost + profit&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In the first scenario, those who have build their entire workflow on AI support have a serious problem. AI servies as a massive single-point-of-failure. Quite a few very optimistic roadmaps have to be adjusted, I guess.&lt;/p&gt;
&lt;p&gt;The second scenario may be effectively identical to the first, as AI services may become so expensive that their usage can't be justified. For no reason I can think of, the company "VMWare" comes to mind, strange isn't it?&lt;/p&gt;
&lt;p&gt;As there are open-source models available, it may be possible for some smaller players to jump into this market vacuum, but they'll face exactly the same problems: operating AI at scale is stupidly expensive. They can't be as 'cheap' as current AI services. As they can't afford to subsidise their AI service, they may still be too costly. I can see that smaller players can provide 'one-trick pony' AI services, like 'just for programming', as opposed to the generic AI services provided by the large players. But due to market demand they may become priced at: "if you have to ask, you can't afford it."&lt;/p&gt;
&lt;p&gt;Self-hosting an AI with your own hardware is probably just as cost-prohibitive, even if you don't value your time. In part because a ton of people will get this idea at the same time, impacting hardware prices even more. And the operating costs of AI seem significant. Would it even be possible to setup your own AI and achieve the same productivity level?&lt;/p&gt;
&lt;p&gt;Given current circumstances, I can see a scenario where the USA government will step in and &lt;em&gt;subsidise&lt;/em&gt; these services. If the AI investors buy some specific crypto coins obviously.&lt;/p&gt;
&lt;p&gt;Quid pro quo, Clarice.&lt;sup id="fnref:antrax"&gt;&lt;a class="footnote-ref" href="#fn:antrax"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://news.ycombinator.com/item?id=46730995"&gt;Hacker News thread&lt;/a&gt;&lt;/p&gt;
&lt;div class="footnote"&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id="fn:see"&gt;
&lt;p&gt;— You saw what I did there 😘&amp;#160;&lt;a class="footnote-backref" href="#fnref:see" title="Jump back to footnote 1 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:antrax"&gt;
&lt;p&gt;If justice would still be a thing, Antrax island would become quite crowded&amp;#160;&lt;a class="footnote-backref" href="#fnref:antrax" title="Jump back to footnote 2 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content><category term="Hardware"/><category term="IT"/></entry><entry><title>KVM migration from intel to AMD fails with missing cmp_legacy feature (+ solution)</title><link href="https://louwrentius.com/kvm-migration-from-intel-to-amd-fails-with-missing-cmp_legacy-feature-solution.html" rel="alternate"/><published>2026-01-06T12:00:00+01:00</published><updated>2026-01-06T12:00:00+01:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2026-01-06:/kvm-migration-from-intel-to-amd-fails-with-missing-cmp_legacy-feature-solution.html</id><summary type="html">&lt;h3&gt;Context&lt;/h3&gt;
&lt;p&gt;I'm running a virtualisation lab environment, with four Intel-based CPUs (i5-6500) and one AMD Ryzen 3 PRO 2200GE. &lt;/p&gt;
&lt;p&gt;When migrating virtual machines from one of the Intel hosts to the AMD host, the migration would fail with the following error:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;error: operation failed: guest CPU doesn&amp;#39;t match specification …&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</summary><content type="html">&lt;h3&gt;Context&lt;/h3&gt;
&lt;p&gt;I'm running a virtualisation lab environment, with four Intel-based CPUs (i5-6500) and one AMD Ryzen 3 PRO 2200GE. &lt;/p&gt;
&lt;p&gt;When migrating virtual machines from one of the Intel hosts to the AMD host, the migration would fail with the following error:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;error: operation failed: guest CPU doesn&amp;#39;t match specification: extra features: cmp_legacy&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The really strange thing is that some virtual machines did migrate successfully from an Intel system to the AMD system without any issues.&lt;/p&gt;
&lt;p&gt;So I dumped the XML of the virtual machines and compared them. It turns out that the virtual machines that migrated successfully were all single-core and all failing virtual machines were multi-core.&lt;/p&gt;
&lt;p&gt;As the &lt;code&gt;cmp_legacy&lt;/code&gt; CPU feature seems to be related to (lack of) support for hyper-threading, the configured CPU topology of the virtual machines was suspected to be the culprit.&lt;/p&gt;
&lt;p&gt;I've configured a custom CPU topology on the virtual machines with 1 socket, 1 die and one or more CPU cores. This caused the migration failure.&lt;/p&gt;
&lt;h3&gt;Solution&lt;/h3&gt;
&lt;p&gt;If you configure multi-core virtual machines with multiple &lt;code&gt;sockets&lt;/code&gt; instead of &lt;code&gt;cores&lt;/code&gt; migration between Intel and AMD hosts will succeed.&lt;/p&gt;
&lt;p&gt;In the past, migrations between an Intel and AMD host always succeeded, assuming that the appropriate CPU features were disabled. Why this suddenly stopped working is not clear to me, as this configuration never changed. Maybe it's related to a Libvirt update, but I have no proof for this.&lt;/p&gt;</content><category term="Hardware"/><category term="KVM"/></entry><entry><title>Bose SoundLink on-ear headphones battery replacement</title><link href="https://louwrentius.com/bose-soundlink-on-ear-headphones-battery-replacement.html" rel="alternate"/><published>2025-02-25T12:00:00+01:00</published><updated>2025-02-25T12:00:00+01:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2025-02-25:/bose-soundlink-on-ear-headphones-battery-replacement.html</id><summary type="html">&lt;hr&gt;
&lt;p&gt;Skip to the bottom two paragraph for instructions on how to replace the battery.&lt;/p&gt;
&lt;hr&gt;

&lt;p&gt;I bought my &lt;a href="https://www.bose.co.uk/en_gb/support/products/bose_headphones_support/bose_around_ear_headphones_support/soundlink-on-ear-bluetooth-headphones.html"&gt;Bose SoundLink on-ear Bluetooth headphones&lt;/a&gt; for 250 Euros around 2017 and I really like them. They are small, light, comfortable and can easily fit in a coat pocket when folded.&lt;/p&gt;
&lt;p&gt;Up until now …&lt;/p&gt;</summary><content type="html">&lt;hr&gt;
&lt;p&gt;Skip to the bottom two paragraph for instructions on how to replace the battery.&lt;/p&gt;
&lt;hr&gt;

&lt;p&gt;I bought my &lt;a href="https://www.bose.co.uk/en_gb/support/products/bose_headphones_support/bose_around_ear_headphones_support/soundlink-on-ear-bluetooth-headphones.html"&gt;Bose SoundLink on-ear Bluetooth headphones&lt;/a&gt; for 250 Euros around 2017 and I really like them. They are small, light, comfortable and can easily fit in a coat pocket when folded.&lt;/p&gt;
&lt;p&gt;Up until now (about 7 years later) I have replaced the ear cushions in 2019 (€25) and 2024 (€18).&lt;/p&gt;
&lt;p&gt;&lt;img alt="headphones" src="https://louwrentius.com/static/images/headphones/hf01.webp" /&gt;&lt;/p&gt;
&lt;p&gt;Early 2025, battery capacity had deteriorated to a point where it became noticeable. The battery was clearly dying.&lt;/p&gt;
&lt;p&gt;Unfortunately these headphones aren't designed for easy battery replacement: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Bose hasn't published instructions on how to replace the battery, doesn't offer a replacement battery and hasn't documented which battery type/model is used.&lt;/li&gt;
&lt;li&gt;The left 'head phone' has two Torx security screws and most people won't have the appropriate screwdriver for this size&lt;/li&gt;
&lt;li&gt;There is soldering involved &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I wanted to try a battery replacement anyway as I hate to throw away a perfectly good, working product just because the battery has worn out. Maybe at some point the headband needs replacing, but with a fresh battery, these headphones can last another 7 years. Let's prevent a bit of e-waste with a little bit of cost and effort.&lt;/p&gt;
&lt;p&gt;Most of all, the cost of this battery replacement is much lower than a new pair of headphones as the battery was €18 including taxes and shipping.&lt;/p&gt;
&lt;h3&gt;Right to repair should include easy battery replacement&lt;/h3&gt;
&lt;p&gt;Although my repair seemed to have worked out fine, it requires enough effort that most people won't even try. For this reason, I feel that it should be mandatory by law that: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Batteries in &lt;em&gt;any&lt;/em&gt; product must be user-replaceable (no special equipment or soldering required)&lt;/li&gt;
&lt;li&gt;Batteries must be provided by the vendor until 10 years after the last day the product was sold (unless it's a standard format like AA(A) or 18650).&lt;/li&gt;
&lt;li&gt;Batteries must be provided at max 10% of the cost of the original product&lt;/li&gt;
&lt;li&gt;The penalty for non-compliance should be high enough such that it won't be regarded as the cost of doing business&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For that matter, all components that may wear down over time should be user-replaceable.&lt;/p&gt;
&lt;hr&gt;
&lt;h3&gt;What you need to replace the battery&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Buy the exact battery type: &lt;code&gt;ahb571935pct-01&lt;/code&gt; (350mAh) (notice the &lt;em&gt;three&lt;/em&gt; wires!)&lt;/li&gt;
&lt;li&gt;A Philips #0 screwdriver / bit&lt;/li&gt;
&lt;li&gt;A Torx T6H security screwdriver / bit (iFixit kits have them)&lt;/li&gt;
&lt;li&gt;A soldering iron&lt;/li&gt;
&lt;li&gt;Solder&lt;/li&gt;
&lt;li&gt;Heat shrink for 'very thin wire'&lt;/li&gt;
&lt;li&gt;Multimeter (optional)&lt;/li&gt;
&lt;li&gt;a bit of tape to 'cap off' bare battery leads&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Please note that I found another battery &lt;code&gt;ahb571935pct-03&lt;/code&gt; with similar specifications (capacity and voltage) but I don't know if it will fit.&lt;/p&gt;
&lt;p&gt;Putting the headphone ear cushion back on can actually be the hardest part of the process, you need to be firm and this process &lt;a href="https://www.bose.co.uk/en_gb/support/articles/HC1963/productCodes/soundlink_oe_headphones/article.html"&gt;is documented by Bose&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Battery replacement steps I took&lt;/h3&gt;
&lt;p&gt;&lt;em&gt;Make sure you don't short the wires on the old or new battery during replacement&lt;/em&gt; &lt;/p&gt;
&lt;p&gt;The battery is located in the left 'head phone'.&lt;/p&gt;
&lt;p&gt;&lt;img alt="headphone closeup" src="https://louwrentius.com/static/images/headphones/hf02.webp" /&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use a multimeter to check if your new battery isn't dead (should be 3+ volt)&lt;/li&gt;
&lt;li&gt;Remove the ear cushion from the &lt;em&gt;left&lt;/em&gt; 'head phone' very gently as not to tear the rim&lt;/li&gt;
&lt;li&gt;Remove the two philips screws that keep the driver (speaker) in place&lt;/li&gt;
&lt;li&gt;Remove the two Torx screws (you may have to press a bit harder)&lt;/li&gt;
&lt;li&gt;Remove the speaker and be carefull not to snap the wire&lt;/li&gt;
&lt;li&gt;Gently remove the battery from the 'head phone'&lt;/li&gt;
&lt;li&gt;Cut the wires close to the old battery (one by one!) and cover the wires on the battery to prevent a short&lt;/li&gt;
&lt;li&gt;Strip the three wires from the headphones a tiny bit (just a few mm)&lt;/li&gt;
&lt;li&gt;Put a short piece of heat shrink on each of the three wires of the battery  &lt;/li&gt;
&lt;li&gt;Solder each wire to the correct wire in the ear cup&lt;/li&gt;
&lt;li&gt;Adjust the location of the heat shrink over the freshly soldered joint.&lt;/li&gt;
&lt;li&gt;Use the soldering iron close to the heat shrink to shrink it (don't touch anything), this can take some time, be patient&lt;/li&gt;
&lt;li&gt;Check that the heat shrink is fixed in place and can't move&lt;/li&gt;
&lt;li&gt;Put the battery into it's specific location in the back of the 'head phone'&lt;/li&gt;
&lt;li&gt;Test the headphones briefly before reassembling the headphones&lt;/li&gt;
&lt;li&gt;Reassemble the 'head phone' (consider leaving out the two Torx screws)&lt;/li&gt;
&lt;li&gt;Dispose of the old battery in a responsible manner&lt;/li&gt;
&lt;/ol&gt;</content><category term="Hardware"/><category term="Hardware"/></entry><entry><title>My 71 TiB ZFS NAS after 10 years and zero drive failures</title><link href="https://louwrentius.com/my-71-tib-zfs-nas-after-10-years-and-zero-drive-failures.html" rel="alternate"/><published>2024-09-14T12:00:00+02:00</published><updated>2024-09-14T12:00:00+02:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2024-09-14:/my-71-tib-zfs-nas-after-10-years-and-zero-drive-failures.html</id><summary type="html">&lt;p&gt;My &lt;a href="https://louwrentius.com/71-tib-diy-nas-based-on-zfs-on-linux.html"&gt;4U 71 TiB ZFS NAS&lt;/a&gt; built with twenty-four 4 TB drives is over 10 years old and still going strong.&lt;/p&gt;
&lt;p&gt;&lt;img alt="my nas" src="https://louwrentius.com/static/images/zfsnas01.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;Although now on its second motherboard and power supply, the system has yet to experience a single drive failure (knock on wood).&lt;/p&gt;
&lt;p&gt;Zero drive failures in ten years, how …&lt;/p&gt;</summary><content type="html">&lt;p&gt;My &lt;a href="https://louwrentius.com/71-tib-diy-nas-based-on-zfs-on-linux.html"&gt;4U 71 TiB ZFS NAS&lt;/a&gt; built with twenty-four 4 TB drives is over 10 years old and still going strong.&lt;/p&gt;
&lt;p&gt;&lt;img alt="my nas" src="https://louwrentius.com/static/images/zfsnas01.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;Although now on its second motherboard and power supply, the system has yet to experience a single drive failure (knock on wood).&lt;/p&gt;
&lt;p&gt;Zero drive failures in ten years, how is that possible?&lt;/p&gt;
&lt;h2&gt;Let's talk about the drives first&lt;/h2&gt;
&lt;p&gt;The 4 TB HGST drives have roughly 6000 hours on them after ten years. You might think something's off and you'd be right. That's only about 250 days worth of runtime. And therein lies the secret of drive longevity (I think):&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Turn the server off when you're not using it.&lt;/strong&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;According to people on &lt;a href="https://news.ycombinator.com/item?id=41536088"&gt;Hacker News&lt;/a&gt; I have my bearings wrong. The chance of having zero drive failures over 10 years for 24 drives is much higher than I thought it was. So this good result may not be related to turning my NAS off and keeping it off most off the time.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;My NAS is turned off by default. I only turn it on (remotely) when I need to use it. I use a script to turn the IoT power bar on and once the BMC (Baseboard Management Controller) is done booting, I use &lt;a href="https://en.wikipedia.org/wiki/Intelligent_Platform_Management_Interface"&gt;IPMI&lt;/a&gt; to turn on the NAS itself. But I could have used &lt;a href="https://en.wikipedia.org/wiki/Wake-on-LAN"&gt;Wake-on-Lan&lt;/a&gt; too as an alternative.&lt;/p&gt;
&lt;p&gt;Once I'm done using the server, I run a small script that turns the server off, wait a few seconds and then turn the wall socket off. &lt;/p&gt;
&lt;p&gt;It wasn't enough for me to just turn off the server, but leave the motherboard, and thus the BMC powered, because that's just a constant 7 watts (about two Raspberry Pis at idle) being wasted (24/7).&lt;/p&gt;
&lt;p&gt;This process works for me because I run other services on low-power devices such as Raspberry Pi4s or servers that use &lt;em&gt;much less power&lt;/em&gt; when idling than my 'big' NAS. &lt;/p&gt;
&lt;p&gt;This proces reduces my energy bill considerably (primary motivation) and also seems great for hard drive longevity.&lt;/p&gt;
&lt;p&gt;Although zero drive failures to date is awesome, N=24 is not very representative and I could just be very lucky. Yet, it was the same story with the &lt;a href="https://louwrentius.com/20-disk-18-tb-raid-6-storage-based-on-debian-linux.html"&gt;predecessor of this NAS&lt;/a&gt;, a machine with 20 drives (1 TB Samsung Spinpoint F1s (remember those?)) and I also had zero drive failures during its operational lifespan (~5 years).&lt;/p&gt;
&lt;h2&gt;The motherboard (died once)&lt;/h2&gt;
&lt;p&gt;Although the drives are still ok, I had to replace the motherboard a few years ago. The failure mode of the motherboard was interesting: it was impossible to get into the BIOS and it would occasionally fail to boot. I tried the obvious like removing the CMOS battery and such but to no avail.&lt;/p&gt;
&lt;p&gt;Fortunately, the [motherboard]&lt;sup id="fnref:same"&gt;&lt;a class="footnote-ref" href="#fn:same"&gt;1&lt;/a&gt;&lt;/sup&gt; was still available on Ebay for a decent price so that ended up not being a big deal. &lt;/p&gt;
&lt;h2&gt;ZFS&lt;/h2&gt;
&lt;p&gt;ZFS worked fine for all these years. I've switched operating systems over the years and I never had an issue importing the pool back into the new OS install.
If I would build a new storage server, I would definitely use ZFS again.&lt;/p&gt;
&lt;p&gt;I run a zpool scrub on the drives a few times a year&lt;sup id="fnref:longduration"&gt;&lt;a class="footnote-ref" href="#fn:longduration"&gt;2&lt;/a&gt;&lt;/sup&gt;. The scrub has &lt;em&gt;never found a single checksum error&lt;/em&gt;. I must have run so many scrubs, more than a &lt;em&gt;petabyte&lt;/em&gt; of data must have been read from the drives (all drives combined) and ZFS didn't have to kick in.&lt;/p&gt;
&lt;p&gt;I'm not surprised by this result at all. Drives tend to fail most often in two modes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Total failure, drive isn't even detected&lt;/li&gt;
&lt;li&gt;Bad sectors (read or write failures)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;There is a third failure mode, but it's extremely rare: &lt;strong&gt;silent data corruption&lt;/strong&gt;. Silent data corruption is 'silent' because a disk isn't aware it delivered corrupted data. Or the SATA connection didn't detect any checksum errors. &lt;/p&gt;
&lt;p&gt;However, due to all the low-level checksumming, this risk is extremely small. It's a real risk, don't get me wrong, but it's a small risk. To me, it's a risk you mostly care about at scale, in datacenters&lt;sup id="fnref:enterprise"&gt;&lt;a class="footnote-ref" href="#fn:enterprise"&gt;3&lt;/a&gt;&lt;/sup&gt; but for residential usage, it's totally reasonable to accept the risk&lt;sup id="fnref:risk"&gt;&lt;a class="footnote-ref" href="#fn:risk"&gt;4&lt;/a&gt;&lt;/sup&gt;. &lt;/p&gt;
&lt;p&gt;But ZFS is not that difficult to learn and if you are well-versed in Linux or FreeBSD, it's absolutely worth checking out. Just &lt;a href="https://louwrentius.com/the-hidden-cost-of-using-zfs-for-your-home-nas.html"&gt;remember&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;&lt;img alt="inside" src="https://louwrentius.com/static/images/nano/topview.jpg" /&gt;&lt;/p&gt;
&lt;h2&gt;Sound levels (It's Oh So Quiet)&lt;/h2&gt;
&lt;p&gt;This NAS is &lt;em&gt;very&lt;/em&gt; quiet for a NAS (&lt;a href="https://youtu.be/LS3cfl-7n-4"&gt;video with audio&lt;/a&gt;). &lt;/p&gt;
&lt;p&gt;But to get there, I had to do some work.&lt;/p&gt;
&lt;p&gt;The chassis contains three sturdy 12V fans that cool the 24 drive cages. These fans are extremely loud if they run at their default speed. But because they are so beefy, they are fairly quiet when they run at idle RPM&lt;sup id="fnref:extrafan"&gt;&lt;a class="footnote-ref" href="#fn:extrafan"&gt;5&lt;/a&gt;&lt;/sup&gt;, yet they still provide enough airflow, most of the time. But running at idle speeds was not enough as the drives would heat up eventually, especially when they are being read from / written to.&lt;/p&gt;
&lt;p&gt;Fortunately, the particular Supermicro motherboard I bought at the time allows all fan headers to be controlled through Linux. So I decided to create a &lt;a href="https://github.com/louwrentius/storagefancontrol"&gt;script&lt;/a&gt; that sets the fan speed according to the temperature of the hottest drive in the chassis.&lt;/p&gt;
&lt;p&gt;I actually visited a math-related subreddit and asked for an algorithm that would best fit my need to create a silent setup and also keep the drives cool.
Somebody recommended to use a "&lt;a href="https://en.wikipedia.org/wiki/Proportional–integral–derivative_controller"&gt;PID controller&lt;/a&gt;", which I knew nothing about. So I wrote some Python, stole some example Python PID controller code, and tweaked the parameters to find a balance between sound and cooling performance.&lt;/p&gt;
&lt;p&gt;The script has worked very well over the years and kept the drives at 40C or below. PID controllers are awesome and I feel it should be used in much more equipment that controls fans, temperature, and so on, instead of 'dumb' on/of behaviour or less 'dumb' lookup tables.&lt;/p&gt;
&lt;h2&gt;Networking&lt;/h2&gt;
&lt;p&gt;I started out with quad-port gigabit network controllers and I used &lt;a href="https://louwrentius.com/achieving-450-mbs-network-file-transfers-using-linux-bonding.html"&gt;network bonding&lt;/a&gt; to get around 450 MB/s network transfer speeds between various systems. This setup required a ton of UTP cables so eventually I got bored with that and I bought some cheap &lt;a href="https://louwrentius.com/using-infiniband-for-cheap-and-fast-point-to-point-networking.html"&gt;Infiniband&lt;/a&gt; cards and that worked fine, I could reach around 700 MB/s between systems. As I decided to move away from Ubuntu and back to Debian, I faced a problem: the Infiniband cards didn't work anymore and I could not figure out how to fix it. So I decided to buy some second-hand 10Gbit Ethernet cards and those work totally fine to this day.&lt;/p&gt;
&lt;h2&gt;The dead power supply&lt;/h2&gt;
&lt;p&gt;When you turn this system on, all drives spin up at once (no staggered spinup) and that draws around 600W for a few seconds. I remember that the power supply was rated for 750W and the 12 volt rail would have been able to deliver enough power, but it would sometimes cut out at boot nonetheless.&lt;/p&gt;
&lt;h2&gt;UPS (or lack thereof)&lt;/h2&gt;
&lt;p&gt;For many years, I used a beefy UPS with the system, to protect against power failure, just to be able to shutdown cleanly during an outage. This worked fine, but I noticed that the UPS used another 10+ watts on top of the usage of the server and I decided it had to go.&lt;/p&gt;
&lt;p&gt;Losing the system due to power shenanigans is a risk I accept.&lt;/p&gt;
&lt;h2&gt;Backups (or a lack thereof)&lt;/h2&gt;
&lt;p&gt;My most important data is backed up trice. But a lot of data stored on this server isn't important enough for me to backup. I rely on replacement hardware and ZFS protecting against data loss due to drive failure.&lt;/p&gt;
&lt;p&gt;And if that's not enough, I'm out of luck. I've accepted that risk for 10 years. Maybe one day my luck will run out, but until then, I enjoy what I have.&lt;/p&gt;
&lt;h2&gt;Future storage plans (or lack thereof)&lt;/h2&gt;
&lt;p&gt;To be frank, I don't have any. I built this server back in the day because I didn't want to shuffle data around due to storage space constraints and I still have ample space left.&lt;/p&gt;
&lt;p&gt;I have a spare motherboard, CPU, Memory and a spare HBA card so I'm quite likely able to revive the system if something breaks.&lt;/p&gt;
&lt;p&gt;As hard drive sizes have increased tremendously, I may eventually move away from the 24-drive bay chassis into a smaller form-factor. It's possible to create the same amount of redundant storage space with only 6-8 hard drives with RAIDZ2 (RAID 6) redundancy. Yet, storage is always expensive. &lt;/p&gt;
&lt;p&gt;But another likely scenario is that in the coming years this system eventually dies and I decide not to replace it at all, and my storage hobby will come to an end.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;This article was a &lt;a href="https://news.ycombinator.com/item?id=41536088"&gt;Hacker News Hit&lt;/a&gt;&lt;/p&gt;
&lt;div class="footnote"&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id="fn:same"&gt;
&lt;p&gt;I needed the same board, because the server uses four PCIe slots: 3 x HBA and 1 x 10Gbit NIC.&amp;#160;&lt;a class="footnote-backref" href="#fnref:same" title="Jump back to footnote 1 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:longduration"&gt;
&lt;p&gt;It takes ~20 hours to complete a scrub and it uses a ton of power while doing so. As I'm on a dynamic power tariff, I run it on 'cheap' days.&amp;#160;&lt;a class="footnote-backref" href="#fnref:longduration" title="Jump back to footnote 2 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:enterprise"&gt;
&lt;p&gt;enterprise hard drives used in servers and SANs had larger sector sizes to accommodate even more checksumming data to prevent against silent data corruption.&amp;#160;&lt;a class="footnote-backref" href="#fnref:enterprise" title="Jump back to footnote 3 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:risk"&gt;
&lt;p&gt;every time I listen to ZFS enthusiasts you get the impression you are taking insane risks with your data if you don't run ZFS. I disagree, it all depends on context and circumstances.&amp;#160;&lt;a class="footnote-backref" href="#fnref:risk" title="Jump back to footnote 4 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:extrafan"&gt;
&lt;p&gt;Because there is little airflow by default, I had to add a fan to cool the four PCIe cards (HBA and networking) or they would have gotten way too hot.&amp;#160;&lt;a class="footnote-backref" href="#fnref:extrafan" title="Jump back to footnote 5 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content><category term="hardware"/><category term="Hardware"/></entry><entry><title>The Raspberry Pi 5 is no match for a tini-mini-micro PC</title><link href="https://louwrentius.com/the-raspberry-pi-5-is-no-match-for-a-tini-mini-micro-pc.html" rel="alternate"/><published>2024-06-16T12:00:00+02:00</published><updated>2024-06-16T12:00:00+02:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2024-06-16:/the-raspberry-pi-5-is-no-match-for-a-tini-mini-micro-pc.html</id><summary type="html">&lt;p&gt;I've always been fond of the idea of the Raspberry Pi. An energy efficient, small, cheap but capable computer. An ideal home server. Until the Pi 4, the Pi was not that capable, and only with the relatively recent Pi 5 (fall 2023) do I feel the Pi is OK …&lt;/p&gt;</summary><content type="html">&lt;p&gt;I've always been fond of the idea of the Raspberry Pi. An energy efficient, small, cheap but capable computer. An ideal home server. Until the Pi 4, the Pi was not that capable, and only with the relatively recent Pi 5 (fall 2023) do I feel the Pi is OK performance wise, although still hampered by SD card performance&lt;sup id="fnref:good"&gt;&lt;a class="footnote-ref" href="#fn:good"&gt;1&lt;/a&gt;&lt;/sup&gt;. And the Pi isn't that cheap either.&lt;/p&gt;
&lt;p&gt;The Pi 5 can be fitted with an NVME SSD, but for me it's too little, too late.
Because I feel there is a type of computer on the market, that is much more compelling than the Pi. &lt;/p&gt;
&lt;p&gt;I'm talking about the &lt;a href="https://www.servethehome.com/introducing-project-tinyminimicro-home-lab-revolution/"&gt;tinyminimicro&lt;/a&gt; home lab 'revolution' started by
&lt;a href="https://www.servethehome.com/"&gt;servethehome.com&lt;/a&gt; about four years ago (2020).&lt;/p&gt;
&lt;p&gt;&lt;img alt="mini pc" src="https://louwrentius.com/static/images/tmm/tmm01.webp" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;A 1L mini PC (Elitedesk 705 G4) with a Raspberry Pi 5 on top&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;During the pandemic, the Raspberry Pi was in short supply and people started looking for alternatives. The people at servethehome realised that these small enterprise desktop PCs could be a good option. Dell (micro), Lenovo (tiny) and HP (mini) all make these small desktop PCs, which are also known as 1L (one liter) PCs.&lt;/p&gt;
&lt;p&gt;These Mini PC are not cheap&lt;sup id="fnref:cheap"&gt;&lt;a class="footnote-ref" href="#fn:cheap"&gt;2&lt;/a&gt;&lt;/sup&gt; when bought new, but older models are sold at a very steep discount as enterprises offload old models by the thousands on the second hand market (through intermediates).&lt;/p&gt;
&lt;p&gt;Although these computers are often several years old, they are still much faster than a Raspberry Pi (including the Pi 5) and can hold more RAM.&lt;/p&gt;
&lt;p&gt;I decided to buy two HP Elitedesk Mini PCs to try them out, one based on AMD and the other based on Intel.&lt;/p&gt;
&lt;h3&gt;The Hardware&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th style="text-align: right;"&gt;&lt;a href="https://support.hp.com/th-en/document/c05371240"&gt;Elitedesk Mini G3 800&lt;/a&gt;&lt;/th&gt;
&lt;th style="text-align: right;"&gt;&lt;a href="https://support.hp.com/us-en/document/c06101574"&gt;Elitedesk Mini G4 705&lt;/a&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;CPU&lt;/td&gt;
&lt;td style="text-align: right;"&gt;Intel i5-6500 (65W)&lt;/td&gt;
&lt;td style="text-align: right;"&gt;AMD Ryzen 3 PRO 2200GE (35W)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RAM&lt;/td&gt;
&lt;td style="text-align: right;"&gt;16 GB (max 32 GB)&lt;/td&gt;
&lt;td style="text-align: right;"&gt;16 GB (max 32 GB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;HDD&lt;/td&gt;
&lt;td style="text-align: right;"&gt;250 GB (SSD)&lt;/td&gt;
&lt;td style="text-align: right;"&gt;250 GB (NVME)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Network&lt;/td&gt;
&lt;td style="text-align: right;"&gt;1Gb (Intel)&lt;/td&gt;
&lt;td style="text-align: right;"&gt;1Gb (Realtek)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;WiFi&lt;/td&gt;
&lt;td style="text-align: right;"&gt;Not installed&lt;/td&gt;
&lt;td style="text-align: right;"&gt;Not installed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Display&lt;/td&gt;
&lt;td style="text-align: right;"&gt;2 x DP, 1 x VGA&lt;/td&gt;
&lt;td style="text-align: right;"&gt;3 x DP&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Remote management&lt;/td&gt;
&lt;td style="text-align: right;"&gt;Yes&lt;/td&gt;
&lt;td style="text-align: right;"&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Idle power&lt;/td&gt;
&lt;td style="text-align: right;"&gt;4 W&lt;/td&gt;
&lt;td style="text-align: right;"&gt;10 W&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Price&lt;/td&gt;
&lt;td style="text-align: right;"&gt;€160&lt;/td&gt;
&lt;td style="text-align: right;"&gt;€115&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The AMD-based system is cheaper, but you 'pay' in higher idle power usage. In absolute terms 10 watt is still decent, but the Intel model directly competes with the Pi 5 on idle power consumption. &lt;/p&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/tmm/tmm03.webp"&gt;&lt;img alt="inside the mini pic" src="https://louwrentius.com/static/images/tmm/tmm03_small.webp" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Elitedesk 705 left, Elitedesk 800 right (click to enlarge)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Regarding display output, these devices have two fixed displayport outputs, but there is one port that is configurable. It can be displayport, VGA or HDMI. Depending on the supplier you may be able to configure this option, or you can buy them separately for €15-€25 online.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/tmm/HPEliteDesk800G3DesktopMini.pdf"&gt;&lt;img alt="back800" src="https://louwrentius.com/static/images/tmm/tmm06.webp" /&gt;&lt;/a&gt;
&lt;a href="https://louwrentius.com/static/images/tmm/HPEliteDesk705G4DesktopMini.pdf"&gt;&lt;img alt="back705" src="https://louwrentius.com/static/images/tmm/tmm05.webp" /&gt;&lt;/a&gt;
&lt;em&gt;Click on image for official specs in PDF format&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Both models seem to be equipped with socketed CPUs. Although options for this formfactor are limited, it's possible to upgrade.&lt;/p&gt;
&lt;h3&gt;Comparing cost with the Pi 5&lt;/h3&gt;
&lt;p&gt;The Raspberry Pi 5 with (max) 8 GB of RAM costs ~91 Euro, almost exactly the same price as the AMD-based mini PC&lt;sup id="fnref:psu"&gt;&lt;a class="footnote-ref" href="#fn:psu"&gt;3&lt;/a&gt;&lt;/sup&gt; in its base configuration (8GB RAM). Yet, with the Pi, you still need:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;power supply (€13)&lt;/li&gt;
&lt;li&gt;case (€11)&lt;/li&gt;
&lt;li&gt;SD card or NVME SSD (€10-€45)&lt;/li&gt;
&lt;li&gt;NVME hat (€15) (optional but would be more comparable)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;It's true that I'm comparing a new computer to a second hand device, and you can decide if that matters in this case. With a complete Pi 5 at around €160 including taxes and shipping, the AMD-based 1L PC is clearly the cheaper and still more capable option.&lt;/p&gt;
&lt;h3&gt;Comparing performance with the Pi 5&lt;/h3&gt;
&lt;p&gt;The first two rows in this table show the Geekbench 6 score of the Intel and AMD mini PCs I've bought for evaluation. I've added the benchmark results of some other computers I've access to, just to provide some context.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;CPU&lt;/th&gt;
&lt;th&gt;Single-core&lt;/th&gt;
&lt;th&gt;Multi-core&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;AMD Ryzen 3 PRO 2200GE (32W)&lt;/td&gt;
&lt;td&gt;1148&lt;/td&gt;
&lt;td&gt;3343&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Intel i5-6500 (65W)&lt;/td&gt;
&lt;td&gt;1307&lt;/td&gt;
&lt;td&gt;3702&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mac Mini M2&lt;/td&gt;
&lt;td&gt;2677&lt;/td&gt;
&lt;td&gt;9984&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mac Mini i3-8100B&lt;/td&gt;
&lt;td&gt;1250&lt;/td&gt;
&lt;td&gt;3824&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;HP Microserver Gen8 Xeon E3-1200v2&lt;/td&gt;
&lt;td&gt;744&lt;/td&gt;
&lt;td&gt;2595&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry Pi 5&lt;/td&gt;
&lt;td&gt;806&lt;/td&gt;
&lt;td&gt;1861&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Intel i9-13900k&lt;/td&gt;
&lt;td&gt;2938&lt;/td&gt;
&lt;td&gt;21413&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Intel E5-2680 v2&lt;/td&gt;
&lt;td&gt;558&lt;/td&gt;
&lt;td&gt;5859&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Sure, these mini PCs won't come close to modern hardware like the Apple M2 or the intel i9. But if we look at the performance of the mini PCs we can observe that:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The Intel i5-6500T CPU is 13% faster in single-core than the AMD Ryzen 3 PRO&lt;/li&gt;
&lt;li&gt;Both the Intel and AMD processors are 42% - 62% faster than the Pi 5 regarding single-core performance.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Storage (performance)&lt;/h3&gt;
&lt;p&gt;If there's one thing that really holds the Pi back, it's the SD card storage.
If you buy a decent SD card (A1/A2) that doesn't have terrible random IOPs performance, you realise that you can get a SATA or NVME SSD for almost the same price that has more capacity and much better (random) IO performance.&lt;/p&gt;
&lt;p&gt;With the Pi 5, NVME SSD storage isn't standard and requires an extra hat. I feel that the missing integrated NVME storage option for the Pi 5 is a missed opportunity that - in my view - hurts the Pi 5.&lt;/p&gt;
&lt;p&gt;Now in contrast, the Intel-based mini PC came with a SATA SSD in a special mounting bracket. That bracket also contained a small fan(1) to keep the underlying NVME storage (not present) cooled. &lt;/p&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/tmm/tmm04.webp"&gt;&lt;img alt="inside the mini pic" src="https://louwrentius.com/static/images/tmm/tmm04_small.webp" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;There is a fan under the SATA SSD (click to enlarge)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The AMD-based mini PC was equipped with an NVME SSD and was not equipped with the SSD mounting bracket. The low price must come from somewhere...&lt;/p&gt;
&lt;p&gt;However, both systems have support for SATA SSD storage, an 80mm NVME SSD and a small 2230 slot for a WiFi card. There seems no room on the 705 G4 to put in a small SSD, but there are adapters available that convert the WiFi slot to a slot usable for an extra NVME SSD, which might be an option for the 800 G3.&lt;/p&gt;
&lt;h3&gt;Noice levels (subjective)&lt;/h3&gt;
&lt;p&gt;Both systems are barely audible at idle, but you will notice them (if you sensitive to that sort of thing). The AMD system seems to become quite loud under full load. The Intel system also became loud under full load, but much more like a Mac Mini: the noise is less loud and more tolerable in my view.&lt;/p&gt;
&lt;h2&gt;Idle power consumption&lt;/h2&gt;
&lt;h3&gt;Elitedesk 800 (Intel)&lt;/h3&gt;
&lt;p&gt;I can get the Intel-based Elitedesk 800 G3 to 3.5 watt at idle. Let that sink in for a moment. That's about the same power draw as the Raspberry Pi 5 at idle!&lt;/p&gt;
&lt;p&gt;Just installing Debian 12 instead of Windows 10 makes the idle power consumption drop from 10-11 watt to around 7 watt. &lt;/p&gt;
&lt;p&gt;Then on Debian, you:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;run &lt;code&gt;apt install powertop&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;run &lt;code&gt;powertop --auto-tune&lt;/code&gt; (saves ~2 Watt)&lt;/li&gt;
&lt;li&gt;Unplug the monitor (run headless) (saves ~1 Watt)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You have to put the &lt;code&gt;powertop --auto-tune&lt;/code&gt; command in /etc/rc.local:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="ch"&gt;#!/usr/bin/env bash&lt;/span&gt;
powertop&lt;span class="w"&gt; &lt;/span&gt;--auto-tune
&lt;span class="nb"&gt;exit&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Then apply &lt;code&gt;chmod +x /etc/rc.local&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;So, for about the same idle power draw you get so much more performance, and go beyond the max 8GB RAM of the Pi 5.&lt;/p&gt;
&lt;h3&gt;Elitedesk 705 (AMD)&lt;/h3&gt;
&lt;p&gt;I managed to get this system to 10-11 watt at idle, but it was a pain to get there. &lt;/p&gt;
&lt;p&gt;I measured around 11 Watts idle power consumption running a preinstalled Windows 11 (with monitor connected). After installing Debian 12 the system used 18 Watts at idle and so began a journey of many hours trying to solve this problem. &lt;/p&gt;
&lt;p&gt;The culprit is the integrated Radeon Vega GPU. To solve the problem you have to:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Configure the 'bios' to only use UEFI&lt;/li&gt;
&lt;li&gt;Reinstall Debian 12 using UEFI&lt;/li&gt;
&lt;li&gt;install the appropriate firmware with &lt;code&gt;apt install firmware-amd-graphics&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you boot the computer using legacy 'bios' mode, the AMD Radeon firmware won't load no matter what you try. You can see this by issuing the commands:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rmmod&lt;span class="w"&gt; &lt;/span&gt;amdgpu
modprobe&lt;span class="w"&gt; &lt;/span&gt;amdgpu
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You may notice errors on the physical console or in the logs that the GPU driver isn't loaded because it's missing firmware (a lie).&lt;/p&gt;
&lt;p&gt;This whole process got me to around 12 Watt at idle. To get to &lt;strong&gt;~10 Watts idle&lt;/strong&gt; you need to do also run &lt;code&gt;powertop --auto-tune&lt;/code&gt; and disconnect the monitor, as stated in the 'Intel' section earlier.&lt;/p&gt;
&lt;p&gt;Given the whole picture, 10-11 Watt at idle is perfectly okay for a home server, and if you just want the cheapest option possible, this is still a fine system.&lt;/p&gt;
&lt;h2&gt;KVM Virtualisation&lt;/h2&gt;
&lt;p&gt;I'm running vanilla KVM (Debian 12) on these Mini PCs and it works totally fine. I've created multiple virtual machines without issue and performance seemed perfectly adequate. &lt;/p&gt;
&lt;h2&gt;Boot performance&lt;/h2&gt;
&lt;p&gt;From the moment I pressed the power button to SSH connecting, it took 17 seconds for the Elitedesk 800.&lt;/p&gt;
&lt;p&gt;The Elitedesk 705 took 33 seconds until I got an SSH shell.&lt;/p&gt;
&lt;p&gt;These boot times include the 5 second boot delay within the GRUB bootloader screen that is default for Debian 12.&lt;/p&gt;
&lt;h2&gt;Remote management support&lt;/h2&gt;
&lt;p&gt;Some of you may be familiar with &lt;a href="https://en.wikipedia.org/wiki/Intelligent_Platform_Management_Interface"&gt;IPMI&lt;/a&gt; (ILO, DRAC, and so on) which is standard on most servers. But there is also similar technology for (enterprise) desktops.&lt;/p&gt;
&lt;p&gt;Intel &lt;a href="https://en.wikipedia.org/wiki/Intel_Management_Engine"&gt;AMT/ME&lt;/a&gt; is a technology used for remote out-of-band management of computers. It can be an interesting feature in a homelab environment but I have no need for it. If you want to try it, you can follow &lt;a href="https://en.wikipedia.org/wiki/Intel_Management_Engine"&gt;this guide&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For most people, it may be best to disable the AMT/ME feature as it has a history of security vulnerabilities. This may not be a huge issue within a trusted home network, but you have been warned.&lt;/p&gt;
&lt;p&gt;The AMD-based Elitedesk 705 didn't came with equivalent remote management capabilities as far as I can tell.&lt;/p&gt;
&lt;h2&gt;Alternatives&lt;/h2&gt;
&lt;p&gt;The models discussed here are older models that are selected for a particular price point. Newer models from Lenovo, HP and Dell, equip more modern processors which are faster and have more cores. They are often also priced significantly higher. &lt;/p&gt;
&lt;p&gt;If you are looking for low-power small formfactor PCs with more potent or customisable hardware, you may want to look at second-hand NUC formfactor PCs.&lt;/p&gt;
&lt;h2&gt;Stacking multiple mini PCs&lt;/h2&gt;
&lt;p&gt;The AMD-based Elitedesk 705 G4 is closed at the top and it's possible to stack other mini PCs on top. &lt;/p&gt;
&lt;p&gt;The Intel-based Elitedesk 800 G3 has a perforated top enclosure, and putting another mini pc on top might suffocate the CPU fan.&lt;/p&gt;
&lt;p&gt;&lt;img alt="topbottom" src="https://louwrentius.com/static/images/tmm/tmm07_small.webp" /&gt;&lt;/p&gt;
&lt;p&gt;As you can see, the bottom/foot of the mini PC doubles as a VESA mount and has four screw holes. By putting some screws in those holes, you may effectively create standoffs that gives the machine below enough space to breathe (maybe you can use actual standoffs).&lt;/p&gt;
&lt;h2&gt;Evaluation and conclusion&lt;/h2&gt;
&lt;p&gt;I think these second-hand 1L tinyminimicro PCs are better suited to play the role of home (lab) server than the Raspberry Pi (5). &lt;/p&gt;
&lt;p&gt;The increased CPU performance, the built-in SSD/NVME support, the option to go beyond 8 GB of RAM (up to 32GB) and the price point on the second-hand market really makes a difference. &lt;/p&gt;
&lt;p&gt;I love the Raspberry Pi and I still have a ton of Pi 4s. This &lt;a href="https://louwrentius.com/i-made-my-blog-solar-powered-then-things-escalated.html"&gt;solar-powered&lt;/a&gt; blog is hosted on a Pi 4 because of the low power consumption and the availability of GPIO pins for the solar status display. &lt;/p&gt;
&lt;p&gt;That said, unless the Raspberry Pi becomes a lot cheaper (and more potent), I'm not so sure it's such a compelling home server.&lt;/p&gt;
&lt;p&gt;This blog post &lt;a href="https://news.ycombinator.com/item?id=40697831"&gt;featured&lt;/a&gt; on the front page of Hacker News.&lt;/p&gt;
&lt;div class="footnote"&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id="fn:good"&gt;
&lt;p&gt;even a decent quality SD card is no match (in terms of random IOPs and sequential throughput) for a regular SATA or NVME SSD. The fact that the Pi 5 has no on-board NVME support is a huge shortcomming in my view.&amp;#160;&lt;a class="footnote-backref" href="#fnref:good" title="Jump back to footnote 1 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:cheap"&gt;
&lt;p&gt;in the sense that you can buy a ton of fully decked out Pi 5s for the price of one such system.&amp;#160;&lt;a class="footnote-backref" href="#fnref:cheap" title="Jump back to footnote 2 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:psu"&gt;
&lt;p&gt;The base price included the external power brick and 256GB NVME storage.&amp;#160;&lt;a class="footnote-backref" href="#fnref:psu" title="Jump back to footnote 3 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content><category term="hardware"/><category term="Hardware"/></entry><entry><title>IKEA $50 VINDSTYRKA vs. $290 Dylos air quality monitor</title><link href="https://louwrentius.com/ikea-50-vindstyrka-vs-290-dylos-air-quality-monitor.html" rel="alternate"/><published>2023-09-17T12:00:00+02:00</published><updated>2023-09-17T12:00:00+02:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2023-09-17:/ikea-50-vindstyrka-vs-290-dylos-air-quality-monitor.html</id><summary type="html">&lt;p&gt;This is a brief article in which I compare the IKEA VINDSTYRKA $50 air quality monitor (PM2.5) with a $290 air quality monitor made by Dylos to see if it's any good.&lt;/p&gt;
&lt;h3&gt;Context&lt;/h3&gt;
&lt;p&gt;If you care about indoor air quality, you may already own a CO2 to determine if …&lt;/p&gt;</summary><content type="html">&lt;p&gt;This is a brief article in which I compare the IKEA VINDSTYRKA $50 air quality monitor (PM2.5) with a $290 air quality monitor made by Dylos to see if it's any good.&lt;/p&gt;
&lt;h3&gt;Context&lt;/h3&gt;
&lt;p&gt;If you care about indoor air quality, you may already own a CO2 to determine if it's time to ventilate your space a bit&lt;sup id="fnref:auto"&gt;&lt;a class="footnote-ref" href="#fn:auto"&gt;1&lt;/a&gt;&lt;/sup&gt;. &lt;/p&gt;
&lt;p&gt;But a CO2 monitor doesn't tell you anything about the amount and size of &lt;a href="https://www.epa.gov/pm-pollution/particulate-matter-pm-basics"&gt;particulate matter&lt;/a&gt; in the air.&lt;/p&gt;
&lt;p&gt;Of particular interest are very fine particles, in the "&lt;a href="https://en.wikipedia.org/wiki/Particulates#Size,_shape,_and_solubility_matter"&gt;PM2.5&lt;/a&gt;" category. Those particles are 2.5 micrometers or smaller in diameter can embed themselves deep inside the lungs and cause health issues.&lt;/p&gt;
&lt;p&gt;Both air quality monitoring devices are specifically measuring PM2.5 particulate matter, so that's what we will focus on in this test.&lt;/p&gt;
&lt;h3&gt;DYLOS DC1100 PRO&lt;/h3&gt;
&lt;p&gt;I bought a &lt;a href="http://www.dylosproducts.com/dcproairqumo.html"&gt;Dylos DC1100 Pro&lt;/a&gt; in 2014 as I was quite interesting in the topic of air quality at that time. As I had to import the device, I believe I had to pay around 400 Euros for it but it's now for sale in the US for around $290.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/airquality/dylos02.jpg"&gt;&lt;img alt="Dylos DC1100 Pro" src="https://louwrentius.com/static/images/airquality/dylos01.jpg" /&gt;&lt;/a&gt;
&lt;em&gt;click on the image for a picture of the back&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I specifically chose this model because it has a serial port, which allows me to log data and maybe spot some trends. I was thinking about using this data to control my air circulation system in my home, but I never got around to building this.&lt;/p&gt;
&lt;p&gt;This device (without serial port) is also explored &lt;a href="https://woodgears.ca/dust/dylos.html"&gt;in-depth&lt;/a&gt; by Matthias Wandel, who many of you probably know from his 1.7M subscribers &lt;a href="https://www.youtube.com/@Matthiaswandel"&gt;Youtube channel&lt;/a&gt;. &lt;em&gt;Tip: he shows the inside of the device.&lt;/em&gt;&lt;/p&gt;
&lt;iframe width="560" height="315" src="https://www.youtube.com/embed/v25owuUboxI?si=E_-cRY4fp0boG29r&amp;amp;start=60" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen&gt;&lt;/iframe&gt;

&lt;p&gt;Note that this video is from 10 years ago and I find it remarkable that the Dylos 1100 Pro is still sold - seemingly unmodified - over the years.&lt;/p&gt;
&lt;h3&gt;The IKEA VINDSTYRKA&lt;/h3&gt;
&lt;p&gt;Recently, I discovered that IKEA is now selling the VINDSTYRKA air quality monitor with support for Zigbee. The product is intended to be used with IKEAs range of air purifiers, to better finetune the behaviour of those devices.&lt;/p&gt;
&lt;p&gt;&lt;img alt="vindstyrka" src="https://louwrentius.com/static/images/airquality/vindstyrka.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;The device measures PM2.5 particulate matter and also monitors temperature and humidity. All data is exposed over Zigbee. I've not tested this myself but I wonder how long it would last on a battery bank as it's USB powered. &lt;/p&gt;
&lt;p&gt;Due to the low price tag, I decided to compare this $50 device (€40) with my Dylos. I think it's quite an interesting device because the Zigbee support allows you to 
integrate the device in home automation and log data, if you have a need for that.&lt;/p&gt;
&lt;h3&gt;Data logging setup&lt;/h3&gt;
&lt;p&gt;De Dylos device is a bit of a pain, because the measurement values are in particulates per square foot, so I had to find a proper conversion formula, which I found in &lt;a href="https://www.scapeler.com/wp-content/uploads/2019/12/Project%20Report%20VISIBILIS_Final%20Version%201.2-compact.pdf"&gt;this paper (page 17)&lt;/a&gt;. The formula is: &lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;PM2.5 Dylos DC1100 (μg/m3) = (particles &amp;gt; 0.5 μm minus particles &amp;gt; 2.5 μm)/250.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;A Raspberry Pi 3B+ is running a &lt;a href="https://github.com/louwrentius/airquality/tree/master"&gt;Python script&lt;/a&gt; that reads the data from the serial port, converts it to PM2.5 values using the previous mentioned formula and transmits it into an InfluxDB + Grafana server.&lt;/p&gt;
&lt;p&gt;To log the VINDSTYRKA data, I used a Sonoff Zigbee receiver on a Raspberry Pi 4b+. I installed zigbee2mqtt as a docker container, Mosquitto MQTT server and Telegraf+MQTT-client to submit the data into InfluxDB, which sounds more convoluted than it actually was.&lt;/p&gt;
&lt;h3&gt;Test method&lt;/h3&gt;
&lt;p&gt;I just let both devices run for a few days in close proximity to each other in my living room. I kept a balcony door open 24/7. I also created a bit of smoke at some point just to observe how the devices would respond and how much they would deviate from each other. Nothing too scientific, to be frank.&lt;/p&gt;
&lt;h3&gt;Test result&lt;/h3&gt;
&lt;p&gt;I've plotted the data from the Dylos and the Ikea device in the same graph and I think the results are quite straightforward. The peak in the middle was my 'smoke test'. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Original&lt;/strong&gt;
&lt;a href="https://louwrentius.com/static/images/airquality/grafana02.png"&gt;&lt;img alt="grafana graph" src="https://louwrentius.com/static/images/airquality/grafana01.png" /&gt;&lt;/a&gt;
&lt;em&gt;click on the image for a larger version&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Updated&lt;/strong&gt;
&lt;a href="https://louwrentius.com/static/images/airquality/grafana04.png"&gt;&lt;img alt="grafana graph" src="https://louwrentius.com/static/images/airquality/grafana03.png" /&gt;&lt;/a&gt;
&lt;em&gt;click on the image for a larger version&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;After a few days I noticed a clear deviation between the VINDSTYRKA and the Dylos DC1100 Pro at certain time intervals. I have no real explanation for this deviation and I can't tell which device shows 'correct' data.&lt;/p&gt;
&lt;p&gt;If I try to follow the &lt;a href="https://www.aqi.in/dashboard/Netherlands/noord-holland/Haarlem"&gt;AQI PM2.5 values&lt;/a&gt; for my city, the VINDSTYRKA seems to under report and the Dylos seems to over-report PM2.5 particulate matter. &lt;/p&gt;
&lt;h3&gt;Evaluation&lt;/h3&gt;
&lt;p&gt;Based on my test, I think the VINDSTYRKA is &lt;em&gt;good enough&lt;/em&gt;, looking at how closely the measurements track the results of the Dylos.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update September 19th 2023&lt;/strong&gt;
Based on the new graph data, it seems the Dylos and VINDSTYRKA are less in agreement over absolute PM2.5 values. I'm not sure what to make of it. &lt;/p&gt;
&lt;p&gt;As both devices still seem to agree on basic trend data, I would say that they still operate in the same ballpark.&lt;/p&gt;
&lt;div class="footnote"&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id="fn:auto"&gt;
&lt;p&gt;Maybe you are a home automation enthusiast and you've managed to automate this process.&amp;#160;&lt;a class="footnote-backref" href="#fnref:auto" title="Jump back to footnote 1 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content><category term="Hardware"/><category term="Solar"/></entry><entry><title>Recycle your old laptop display and turn it into a monitor</title><link href="https://louwrentius.com/recycle-your-old-laptop-display-and-turn-it-into-a-monitor.html" rel="alternate"/><published>2021-03-13T12:00:00+01:00</published><updated>2021-03-13T12:00:00+01:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2021-03-13:/recycle-your-old-laptop-display-and-turn-it-into-a-monitor.html</id><summary type="html">&lt;p&gt;During a cleaning spree I decided that it was time to recycle two old laptops that were just collecting dust on a shelf for many years. Although I didn't have any purpose for them anymore, I realised that the displays were still perfectly fine.&lt;/p&gt;
&lt;p&gt;This is the display of my …&lt;/p&gt;</summary><content type="html">&lt;p&gt;During a cleaning spree I decided that it was time to recycle two old laptops that were just collecting dust on a shelf for many years. Although I didn't have any purpose for them anymore, I realised that the displays were still perfectly fine.&lt;/p&gt;
&lt;p&gt;This is the display of my old &lt;a href="https://en.wikipedia.org/wiki/MacBook_(2006–2012)"&gt;13" Intel-based MacBook&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img alt="screen" src="https://louwrentius.com/images/screen/screen01.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;Somehow it felt wasteful to just throw the laptops out, I wondered if it would be possible to use these displays as a regular monitor? &lt;/p&gt;
&lt;p&gt;It turns out: &lt;a href="https://www.slashdigit.com/convert-old-laptop-screen-external-monitor/"&gt;yes this is possible and it is also quite simple&lt;/a&gt;. My blogpost covers the same topic, with a few more pictures&lt;sup id="fnref:hn"&gt;&lt;a class="footnote-ref" href="#fn:hn"&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;
&lt;p&gt;There is a particular LCD driver board that can be found all over ebay and the well-known Chinese webshops.&lt;/p&gt;
&lt;p&gt;&lt;img alt="controller2" src="https://louwrentius.com/images/screen/controller02.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;These boards cost around $20 and come with most things you need to get the display operational. &lt;/p&gt;
&lt;p&gt;The board includes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A small controller print for the on-screen display (center)&lt;/li&gt;
&lt;li&gt;A high-voltage power supply for the backlight (left)&lt;/li&gt;
&lt;li&gt;The data cable to drive the actual display (right)&lt;/li&gt;
&lt;li&gt;Support for audio-passthrough + volume control (right corner)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The board doesn't include:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A 12-volt power supply&lt;/li&gt;
&lt;li&gt;Some kind of frame to make the display and board one easy to handle unit&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt="controller3" src="https://louwrentius.com/images/screen/controller03.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;The board supports HDMI, VGA and DVI for signal input so it should work with almost any computer. &lt;/p&gt;
&lt;p&gt;This particular board (M.NT68676.2) is used to power many different panel models. Although the board itself may be the same, it's important to order the board that is specifically tailored to the particular LCD panel you have. The panels seem easy to identify. This is the Macbook LCD panel type (LP133WX1 TL A1):&lt;/p&gt;
&lt;p&gt;&lt;img alt="model" src="https://louwrentius.com/images/screen/model.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;That TL/A1 part of the model is critical to finding the appropriate controller. &lt;/p&gt;
&lt;p&gt;I also have an old Dell Vostro screen that uses the exact same driver board, but the cables are different. Also, it may be the case that the boards are flashed with the appropriate firmware for the particular panel. So I would recommend not to gamble and get the driver board that exactly matches the model number.&lt;/p&gt;
&lt;p&gt;To make everything work, we first connect the high-voltage module to the backlight power cable...&lt;/p&gt;
&lt;p&gt;&lt;img alt="hv" src="https://louwrentius.com/images/screen/hv.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;...and we also connect the LCD driver cable:&lt;/p&gt;
&lt;p&gt;&lt;img alt="driver" src="https://louwrentius.com/images/screen/driver.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;When I connected everything for the first time, the display didn't work at all. It turns out that the board shipped with a &lt;em&gt;second&lt;/em&gt;, separate interface cable and I had to swap those cables to make the display work properly.&lt;/p&gt;
&lt;h2&gt;Power supply&lt;/h2&gt;
&lt;p&gt;According to the sales page, the board requires a 12-volt 2A adapter, but in practice, I could get away with a tiny, much weaker power supply.&lt;/p&gt;
&lt;p&gt;&lt;img alt="adapter" src="https://louwrentius.com/images/screen/adapter.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;I found an old adapter from a Wi-Fi access-point (long gone) which is rated for just 0.5A. It did power both the board and the screen perfectly. It worked with both the Macbook display as the Dell display so it doesn't seem to be a fluke.&lt;/p&gt;
&lt;p&gt;Although I didn't measure actual power consumption, we know that it can't be more than just 6 Watt because that's what the power adapter can handle.&lt;/p&gt;
&lt;p&gt;Laptop displays need to be power efficient and that may also make them interesting for low-power or battery-powered projects.&lt;/p&gt;
&lt;h2&gt;We've only just begun&lt;/h2&gt;
&lt;p&gt;The display works, but that was the easy part. &lt;/p&gt;
&lt;p&gt;&lt;img alt="display" src="https://louwrentius.com/images/screen/display.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;The hardest part of this proces (not pictured) was switching the on-screen-display from Chinese (which I don't master) to English. But there is more work ahead.&lt;/p&gt;
&lt;p&gt;At this point we end up with just a fragile LCD panel connected to a driver board through a bunch of wires. The whole setup is just an unpractical mess. There are at least two things left to do:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Mount the driver board, OSD controller and high-voltage unit to the back of the LCD panel&lt;/li&gt;
&lt;li&gt;Make some kind of stand&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For the old Dell display, I used a bit of wood and hot glue to make a wooden scaffold on which I could mount the driver board with a few screws. It won't win any prizes for sure but it's just an example of what needs to be done make the display (more) manageable.&lt;/p&gt;
&lt;p&gt;&lt;img alt="amateur" src="https://louwrentius.com/images/screen/amateurhour.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;It still doesn't have a stand but that's for another day. I can imagine that if you own a 3D printer, you can make a nice case with a stand, although that will increase the cost of the project.&lt;/p&gt;
&lt;h2&gt;Evaluation&lt;/h2&gt;
&lt;p&gt;What I like most about this kind of project is the fact that for very little money, you can recycle a perfectly fine and usable display that will probably last for another five to ten years. The project takes very little effort and it is also not difficult to do.  &lt;/p&gt;
&lt;p&gt;You can augment existing hobby projects with a screen and due to the relatively low power consumption, it may even be suitable for battery-powered projects.&lt;/p&gt;
&lt;p&gt;And with a bit of work you can make a nice (secondary) monitor out of them. Finally you have an excuse to dust off one of your unused Raspberry Pis that you &lt;em&gt;had to have&lt;/em&gt; but didn't have any actual use for.&lt;/p&gt;
&lt;h2&gt;The thrift-store is cheaper&lt;/h2&gt;
&lt;p&gt;If your goal is just to get a cheap LCD display, it may be cheaper to go to the nearest thrift-store and buy some old second-hand display for $10. But that may have some drawbacks:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It will be much larger than the laptop screen&lt;/li&gt;
&lt;li&gt;It is powered by 110/220 volt so less suitable for a battery-powered setup&lt;/li&gt;
&lt;li&gt;overall power consumption will be higher&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So it all depends on your particular needs.&lt;/p&gt;
&lt;h2&gt;Closing words&lt;/h2&gt;
&lt;p&gt;If you also repurposed a laptop monitor for a project or just as a (secondary) screen, feel free to share your work in the comments.&lt;/p&gt;
&lt;div class="footnote"&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id="fn:hn"&gt;
&lt;p&gt;I posted the article on slashdigit to hacker news and it got &lt;a href="https://news.ycombinator.com/item?id=26443025"&gt;quite an interest&lt;/a&gt;.&amp;#160;&lt;a class="footnote-backref" href="#fnref:hn" title="Jump back to footnote 1 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content><category term="Hardware"/><category term="Hardware"/></entry><entry><title>A 12.48 inch (1304x984) three-color e-paper display by Waveshare</title><link href="https://louwrentius.com/a-1248-inch-1304x984-three-color-e-paper-display-by-waveshare.html" rel="alternate"/><published>2020-12-22T12:00:00+01:00</published><updated>2020-12-22T12:00:00+01:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2020-12-22:/a-1248-inch-1304x984-three-color-e-paper-display-by-waveshare.html</id><summary type="html">&lt;h3&gt;Introduction&lt;/h3&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Update September 2023:&lt;/strong&gt; A small horizontal and large vertical row of pixels died. Demo of defective display &lt;a href="https://www.youtube.com/watch?v=sN50r1HIcCI"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;hr&gt;

&lt;p&gt;I'm running a &lt;a href="https://louwrentius.com/this-blog-is-now-running-on-solar-power.html"&gt;solar-powered&lt;/a&gt; blog and I wanted to add a low-power display to show the daily solar 'harvest'&lt;sup id="fnref:solarwinter"&gt;&lt;a class="footnote-ref" href="#fn:solarwinter"&gt;1&lt;/a&gt;&lt;/sup&gt; and maybe some additional information. &lt;/p&gt;
&lt;p&gt;So I decided to use an …&lt;/p&gt;</summary><content type="html">&lt;h3&gt;Introduction&lt;/h3&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Update September 2023:&lt;/strong&gt; A small horizontal and large vertical row of pixels died. Demo of defective display &lt;a href="https://www.youtube.com/watch?v=sN50r1HIcCI"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;hr&gt;

&lt;p&gt;I'm running a &lt;a href="https://louwrentius.com/this-blog-is-now-running-on-solar-power.html"&gt;solar-powered&lt;/a&gt; blog and I wanted to add a low-power display to show the daily solar 'harvest'&lt;sup id="fnref:solarwinter"&gt;&lt;a class="footnote-ref" href="#fn:solarwinter"&gt;1&lt;/a&gt;&lt;/sup&gt; and maybe some additional information. &lt;/p&gt;
&lt;p&gt;So I decided to use an &lt;em&gt;e-paper display&lt;/em&gt;.  I wanted a display that would be readable from a distance, so bigger would be better. I therefore chose the &lt;a href="https://www.waveshare.com/product/displays/e-paper/epaper-1/12.48inch-e-paper-module-b.htm"&gt;Waveshare 12.48 inch e-paper&lt;/a&gt; display&lt;sup id="fnref:bigger"&gt;&lt;a class="footnote-ref" href="#fn:bigger"&gt;2&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/epaper/epaper01_large.jpg"&gt;&lt;img alt="&amp;quot;e-paper display&amp;quot;" src="https://louwrentius.com/static/images/epaper/epaper01_small.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;an example based on data from the summer, generated with Graphite&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This particular display costs $179 excluding taxes and shipping at the time this article was written.&lt;/p&gt;
&lt;h3&gt;Specifications&lt;/h3&gt;
&lt;p&gt;Waveshare sells a &lt;a href="https://www.youtube.com/watch?v=euETPGl2iYo"&gt;two-color&lt;/a&gt; (black and white) and a three-color version (black, white, red). I bought the three-color version. The three-color version is the (B) model.&lt;/p&gt;
&lt;p&gt;Specifications:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;Screen size     :      12.48 inches
Resolution      :      1304 x 984
Colors          :      black, white, red
Greyscale       :      2 levels
Refresh rate    :      16 seconds
Partial refresh :      Not supported
Interfaces      :      Raspberry Pi, ESP32, STM32, Arduino
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The two-color variant  of this display has a refresh rate of 8 seconds.&lt;/p&gt;
&lt;p&gt;This display is clearly quite slow. Furthermore, the lack of partial refresh support could make this display unsuitable for some applications. I was OK with this slow refresh rate. &lt;/p&gt;
&lt;p&gt;The image below demonstrates different fonts and sizes. I think &lt;em&gt;DejaVuSansMono-Bold&lt;/em&gt; looks really well on the display, better than the font supplied by Waveshare.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/epaper/epaper02_large.jpg"&gt;&lt;img alt="&amp;quot;e-paper display&amp;quot;" src="https://louwrentius.com/static/images/epaper/epaper02_small.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;The Interfaces&lt;/h3&gt;
&lt;p&gt;The display includes a microcontroller that in turn can be driven through one of four interfaces:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A Raspberry Pi (Worked)&lt;/li&gt;
&lt;li&gt;An ESP32  (Not tested)&lt;/li&gt;
&lt;li&gt;An Arduino (Didn't work)&lt;/li&gt;
&lt;li&gt;An STM32   (Not tested)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I've tried the Arduino header with an Arduino Uno, but the supplied demo code didn't work. I did not investigate further why this was the case. It could be a problem with voltage regulation.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/epaper/epaper03_large.jpg"&gt;&lt;img alt="&amp;quot;e-paper display&amp;quot;" src="https://louwrentius.com/static/images/epaper/epaper03_small.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the image above, the black plastic backplate is removed. &lt;/p&gt;
&lt;h3&gt;Image quality&lt;/h3&gt;
&lt;p&gt;These e-paper displays are mostly sold as product information displays for supermarkets and other businesses. However, the quality is good enough to display images. Especially the support for red can make an image stand out.&lt;/p&gt;
&lt;p&gt;Below is an example of an image that incorporates the third (red) color.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/epaper/epaper04_large.jpg"&gt;&lt;img alt="&amp;quot;e-paper display&amp;quot;" src="https://louwrentius.com/static/images/epaper/epaper04_small.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The display seems suitable to display art.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/epaper/epaper05_large.jpg"&gt;&lt;img alt="&amp;quot;e-paper display&amp;quot;" src="https://louwrentius.com/static/images/epaper/epaper05_small.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It looks quite good in real life (sorry for the glare). &lt;/p&gt;
&lt;h3&gt;How the display shows three colors&lt;/h3&gt;
&lt;p&gt;The display acts like it is actually &lt;em&gt;two&lt;/em&gt; displays in one. A black and white display, and a red and white display.&lt;/p&gt;
&lt;p&gt;First, the black and white image is drawn. Next, the red and white image is put on top. &lt;/p&gt;
&lt;p&gt;Because the display has to draw two images in succession, it takes 16 seconds to refresh the screen. This explains why the black-and-white version of this screen does a refresh in eight seconds: it doesn't have to refresh the red color. &lt;/p&gt;
&lt;p&gt;Please note that the entire process of displaying content on the screen takes much longer. &lt;/p&gt;
&lt;p&gt;A demonstration:&lt;/p&gt;
&lt;iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/nwa_MTNUDJU" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen&gt;&lt;/iframe&gt;

&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;

&lt;h3&gt;Displaying an image is cumbersome (On Raspberry Pi 3B+)&lt;/h3&gt;
&lt;p&gt;At the time this article was written, I could not find any information or tools for this display&lt;sup id="fnref:google"&gt;&lt;a class="footnote-ref" href="#fn:google"&gt;3&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;
&lt;p&gt;Many Waveshare e-paper displays are popular and have a decent community support. However, it seems that this display is rather unknown.&lt;/p&gt;
&lt;p&gt;Therefore, it seems that there are no tools available to display an arbitrary image on this display. You can use the example Python code to display an image but you have to follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a black-and-white version of the image&lt;/li&gt;
&lt;li&gt;Create a red-and-white version of the image, that contains only data for the red parts of the image&lt;/li&gt;
&lt;li&gt;If the source image doesn't match the required resolution, you have to resize, crop and fill the image where appropriate.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Both 'black' and 'red' images need to exactly match the resolution of the display (1304x984) or the library will abort with an error. &lt;/p&gt;
&lt;p&gt;As I found this proces tedious, I automated it.&lt;/p&gt;
&lt;h3&gt;A new tool to make displaying an image easy&lt;/h3&gt;
&lt;p&gt;I've used the python library as supplied by Waveshare and created a &lt;a href="https://github.com/louwrentius/waveshare-12.48inch-3-color-e-ink"&gt;command-line tool&lt;/a&gt; (Github) on top of it to perform all the required steps as described in the previous section. I'm using Imagemagick for all the image processing. &lt;/p&gt;
&lt;p&gt;The script works like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;./display -i &amp;lt;image file&amp;gt; [--rotate 90] [--fuzz 35] [--color yellow]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The --fuzz and --color parameters may require some clarification. &lt;/p&gt;
&lt;p&gt;The color red is extracted from an image but it's not always perfect. By applying the --fuzz parameter (the argument is a percentage), it is possible to capture more of the red (or selected color) of an image. &lt;/p&gt;
&lt;p&gt;The --color option specifies which color should be 'converted' to red. By default this color is 'red' (obviously). The 'solar chart' (at the start of this article) is an example where a yellow line was converted to red.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Very slow&lt;/strong&gt;: it takes about &lt;em&gt;55 seconds&lt;/em&gt; to display an image using the Raspberry Pi 3B+. Half of that minute is spend converting the images to the appropriate format using Imagemagick.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Informational&lt;/strong&gt;: The Python program includes a &lt;em&gt;modified version&lt;/em&gt; of the Waveshare Python library. This library has been altered to &lt;em&gt;prevent&lt;/em&gt; double conversion of images, which significantly degrades image quality.&lt;/p&gt;
&lt;h3&gt;Slow performance&lt;/h3&gt;
&lt;p&gt;If you use the provided Python library (Python3 compatible) it takes about &lt;strong&gt;30+ seconds&lt;/strong&gt; to draw an image on the screen. (This excludes the image processing performed with the 'display' tool.)&lt;/p&gt;
&lt;p&gt;Further testing showed that the Python library converts and dithers the image before it is sent to the display. And it does so for both black and red. Dithering is performed by looping in Python over every of the 1.3 milion pixels. &lt;/p&gt;
&lt;p&gt;Each of these loops (for black and red) take about 10 seconds on the Raspberry Pi 3B+, which explains why it takes so long to update the display. Therefore, I think the combination of Python + the Raspberry Pi 3B+ is not ideal in this case.&lt;/p&gt;
&lt;h3&gt;Evaluation&lt;/h3&gt;
&lt;p&gt;I wanted to share my experience with this display to make other people aware of its existence. The tool I created should make it simple to get up and running and display an image. &lt;/p&gt;
&lt;p&gt;It clearly has some drawbacks but due to the size, resolution and third color, it seems to be unique and may therefore be interesting.&lt;/p&gt;
&lt;p&gt;Although I never tried the display with an ESP32, I think its an ideal for the purpose of a low-power picture frame. &lt;/p&gt;
&lt;p&gt;This article was discussed on &lt;a href="https://news.ycombinator.com/item?id=25522966"&gt;Hacker News&lt;/a&gt; (briefly).
This resulted in about 9000 unique visitors for this article.&lt;/p&gt;
&lt;h3&gt;Appendix A - Remark on other displays&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Please note:&lt;/strong&gt; Waveshare also sells a smaller &lt;a href="https://www.waveshare.com/10.3inch-e-Paper-HAT.htm"&gt;10.3 inch black-and-white e-paper display&lt;/a&gt; for a similar price with some significant benefits: &lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;Screen size     :      10.3 inches
Resolution      :      1872 x 1404
Colors          :      black and white
Greyscale       :      16 levels
Refresh rate    :      450 miliseconds
Partial refresh :      Supported
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This particular display is smaller but has a higher resolution, supports 16 grayscale levels and updates in half a second. This display may better suit your particular needs. For example, I believe that this display may have been used in &lt;a href="https://www.jamez.it/blog/2020/12/17/made-epaper-solar-powered-digital-photo-frame-call-solarpunk/"&gt;this project&lt;/a&gt;, a solar-powered digital photo frame.&lt;/p&gt;
&lt;h3&gt;Appendix B - How to make the display work on a Raspberry Pi&lt;/h3&gt;
&lt;p&gt;This information is straight from the Waveshare site but I include it for completeness and ease of use. &lt;/p&gt;
&lt;p&gt;PART I: Enable the SPI interface with raspi-config&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;sudo raspi-config&lt;/li&gt;
&lt;li&gt;select Interfacing Options &lt;/li&gt;
&lt;li&gt;Select SPI&lt;/li&gt;
&lt;li&gt;Select Yes&lt;/li&gt;
&lt;li&gt;Reboot the Raspberry Pi&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;PART II: Install the required libraries&lt;/p&gt;
&lt;p&gt;Install BCM283&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.airspayce.com/mikem/bcm2835/"&gt;Website&lt;/a&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz
tar zxvf bcm2835-1.60.tar.gz 
cd bcm2835-1.60/
sudo ./configure
sudo make
sudo make check
sudo make install
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Install wiringPi&lt;/p&gt;
&lt;p&gt;&lt;a href="http://wiringpi.com/wiringpi-deprecated/"&gt;website&lt;/a&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;sudo apt-get install wiringpi
cd /tmp
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
gpio -v
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Caution&lt;/strong&gt;: The library seems to be deprecated. The Raspberry Pi 4 is supported but future versions of the Raspberry Pi may not.&lt;/p&gt;
&lt;p&gt;The wiringPi library is used as part of a compiled library called "DEV_Config.so" as found in the ./lib directory.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;@raspberrypi:~/epaper_display $ ldd lib/DEV_Config.so 
    linux-vdso.so.1 (0x7ee0d000)
    /usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so =&amp;gt; /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0x76f1e000)
    libwiringPi.so =&amp;gt; /usr/lib/libwiringPi.so (0x76f00000)
    libm.so.6 =&amp;gt; /lib/arm-linux-gnueabihf/libm.so.6 (0x76e7e000)
    libc.so.6 =&amp;gt; /lib/arm-linux-gnueabihf/libc.so.6 (0x76d30000)
    libpthread.so.0 =&amp;gt; /lib/arm-linux-gnueabihf/libpthread.so.0 (0x76d06000)
    librt.so.1 =&amp;gt; /lib/arm-linux-gnueabihf/librt.so.1 (0x76cef000)
    libcrypt.so.1 =&amp;gt; /lib/arm-linux-gnueabihf/libcrypt.so.1 (0x76caf000)
    /lib/ld-linux-armhf.so.3 (0x76f46000)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Install Python3 and required libraries&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;sudo apt-get update
sudo apt-get install python3-pip
sudo apt-get install python3-pil
sudo pip3 install RPi.GPIO
sudo pip3 install spidev
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Apendix C - E-paper hacking&lt;/h3&gt;
&lt;p&gt;I see myself as a consumer and I don't have any desire to hack the display for lower refresh-rates or partial refresh support, with the risk of damaging the display in the process. &lt;/p&gt;
&lt;p&gt;However one resource about this topic I find very informative is a video from the Youtube Channel "Applied Science" (By Ben Krasnow), called &lt;a href="https://www.youtube.com/watch?v=MsbiO8EAsGw&amp;amp;t=1436s"&gt;"E-paper hacking: fastest possible refresh rate".&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Apendix D - Available libraries&lt;/h3&gt;
&lt;p&gt;Example code for all supported platforms can be found in this &lt;a href="https://github.com/waveshare/12.48inch-e-paper"&gt;github location&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I also found &lt;a href="https://github.com/ZinggJM/GxEPD2"&gt;this github repository&lt;/a&gt; that may support this display. This code (also) didn't work for me on my Arduino uno. This could be due to a voltage mismatch, but I'm not willing to solder and potentially destroy the display.&lt;/p&gt;
&lt;h3&gt;Apendix E - Links to other e-paper projects&lt;/h3&gt;
&lt;p&gt;&lt;a href="https://onezero.medium.com/the-morning-paper-revisited-35b407822494"&gt;Very large and expensive display&lt;/a&gt; (Medium paywall)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://brettcvz.com/projects/6-upnext"&gt;E-paper calendar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.jamez.it/blog/2020/12/17/made-epaper-solar-powered-digital-photo-frame-call-solarpunk/"&gt;Solar-powered digital photo frame&lt;/a&gt;&lt;/p&gt;
&lt;div class="footnote"&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id="fn:solarwinter"&gt;
&lt;p&gt;During fall and winter, there is almost no power generation due to the very sub-optimal location of my balcony.&amp;#160;&lt;a class="footnote-backref" href="#fnref:solarwinter" title="Jump back to footnote 1 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:bigger"&gt;
&lt;p&gt;You can &lt;a href="https://onezero.medium.com/the-morning-paper-revisited-35b407822494"&gt;go larger&lt;/a&gt; but &lt;a href="https://shopkits.eink.com/product/31-2˝-monochrome-epaper-display-va3200-qaa/"&gt;at a cost&lt;/a&gt;.&amp;#160;&lt;a class="footnote-backref" href="#fnref:bigger" title="Jump back to footnote 2 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:google"&gt;
&lt;p&gt;My google skills may be at fault but that point is now moot.&amp;#160;&lt;a class="footnote-backref" href="#fnref:google" title="Jump back to footnote 3 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content><category term="Hardware"/><category term="Hardware"/></entry><entry><title>Benchmarking a 1.44 MB floppy drive</title><link href="https://louwrentius.com/benchmarking-a-144-mb-floppy-drive.html" rel="alternate"/><published>2019-12-17T00:00:00+01:00</published><updated>2019-12-17T00:00:00+01:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2019-12-17:/benchmarking-a-144-mb-floppy-drive.html</id><summary type="html">&lt;p&gt;I've used &lt;a href="https://github.com/axboe/fio"&gt;fio&lt;/a&gt; - a storage benchmarking tool - to benchmark a 1.44 MB floppy drive to gauge its random I/O performance. I have no real reason for doing this. I just thought it was funny.&lt;/p&gt;
&lt;p&gt;I've run a benchmark against the floppy drives for different queue depths. The results …&lt;/p&gt;</summary><content type="html">&lt;p&gt;I've used &lt;a href="https://github.com/axboe/fio"&gt;fio&lt;/a&gt; - a storage benchmarking tool - to benchmark a 1.44 MB floppy drive to gauge its random I/O performance. I have no real reason for doing this. I just thought it was funny.&lt;/p&gt;
&lt;p&gt;I've run a benchmark against the floppy drives for different queue depths. The results are shared below.&lt;/p&gt;
&lt;h2&gt;Random 4K Read performance&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://raw.githubusercontent.com/louwrentius/fio-plot/master/images/Random_4K_Read_I-O_performance_of_a_1.44_MB_floppy_2019-12-17_004245.png"&gt;&lt;img alt="read" src="https://raw.githubusercontent.com/louwrentius/fio-plot/master/images/Random_4K_Read_I-O_performance_of_a_1.44_MB_floppy_2019-12-17_004245.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Random 4K Write performance&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://raw.githubusercontent.com/louwrentius/fio-plot/master/images/Random_4K_Write_I-O_performance_of_a_1.44_MB_floppy_2019-12-17_004306.png"&gt;&lt;img alt="write" src="https://raw.githubusercontent.com/louwrentius/fio-plot/master/images/Random_4K_Write_I-O_performance_of_a_1.44_MB_floppy_2019-12-17_004306.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;These images show that 1.44 MB a floppy drive have atrocious random I/O performance as compared to hard drives or solid state drives. Who knew!&lt;/p&gt;
&lt;p&gt;Next: benchmarking random I/O performance of a tape drive. If somebody will lend me one.&lt;/p&gt;
&lt;h2&gt;Tools used&lt;/h2&gt;
&lt;p&gt;I used &lt;a href="https://github.com/axboe/fio"&gt;fio&lt;/a&gt; to benchmark the floppy drive. I've used &lt;a href="https://github.com/louwrentius/fio-plot"&gt;fio-plot&lt;/a&gt; to generate the images. The benchmarks were run using an altered version of the benchmark script included with &lt;a href="https://github.com/louwrentius/fio-plot"&gt;fio-plot&lt;/a&gt;.&lt;/p&gt;</content><category term="Hardware"/><category term="storage"/></entry><entry><title>Fio-plot: creating nice charts from FIO storage benchmark data</title><link href="https://louwrentius.com/fio-plot-creating-nice-charts-from-fio-storage-benchmark-data.html" rel="alternate"/><published>2019-11-28T00:00:00+01:00</published><updated>2019-11-28T00:00:00+01:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2019-11-28:/fio-plot-creating-nice-charts-from-fio-storage-benchmark-data.html</id><summary type="html">&lt;h2&gt;New release of fio-plot&lt;/h2&gt;
&lt;p&gt;I've rewritten &lt;a href="https://github.com/louwrentius/fio-plot"&gt;fio-plot&lt;/a&gt;, a tool that turns &lt;a href="https://github.com/axboe/fio"&gt;FIO&lt;/a&gt; benchmark data into nice charts. It allows you to create four types of graphs which will be discussed below. &lt;/p&gt;
&lt;p&gt;The github project page explains how to run this tool. &lt;/p&gt;
&lt;p&gt;Fio-plot also includes a &lt;a href="https://github.com/louwrentius/fio-plot/tree/master/benchmark_script"&gt;benchmark script&lt;/a&gt; that automates testing …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;New release of fio-plot&lt;/h2&gt;
&lt;p&gt;I've rewritten &lt;a href="https://github.com/louwrentius/fio-plot"&gt;fio-plot&lt;/a&gt;, a tool that turns &lt;a href="https://github.com/axboe/fio"&gt;FIO&lt;/a&gt; benchmark data into nice charts. It allows you to create four types of graphs which will be discussed below. &lt;/p&gt;
&lt;p&gt;The github project page explains how to run this tool. &lt;/p&gt;
&lt;p&gt;Fio-plot also includes a &lt;a href="https://github.com/louwrentius/fio-plot/tree/master/benchmark_script"&gt;benchmark script&lt;/a&gt; that automates testing with Fio.&lt;/p&gt;
&lt;p&gt;The git repository also contains &lt;a href="https://github.com/louwrentius/fio-plot/tree/master/benchmark_data"&gt;benchmark data&lt;/a&gt;, which can be used to test fio-plot. &lt;/p&gt;
&lt;h2&gt;2D bar chart&lt;/h2&gt;
&lt;p&gt;This chart plots IOPs and latency for various queue depths. &lt;/p&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/impactofqueuedepth.png"&gt;&lt;img alt="2dbar" src="https://louwrentius.com/static/images/impactofqueuedepth.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;3D bar chart&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/servermdadmraid5-3d.png"&gt;&lt;img alt="3dbar" src="https://louwrentius.com/static/images/servermdadmraid5-3d.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;2D line chart for log data&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/impactofqueuedepth02.png"&gt;&lt;img alt="2dline" src="https://louwrentius.com/static/images/impactofqueuedepth02.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;2D bar chart latency histogram&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/histogram01.png"&gt;&lt;img alt="histogram" src="https://louwrentius.com/static/images/histogram01.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Additional images&lt;/h2&gt;
&lt;p&gt;The github repository also contains a &lt;a href="https://github.com/louwrentius/fio-plot/tree/master/images"&gt;folder with a lot of example images&lt;/a&gt;.&lt;/p&gt;</content><category term="Hardware"/><category term="storage"/></entry><entry><title>My home lab server with 20 cores / 40 threads and 128 GB memory</title><link href="https://louwrentius.com/my-home-lab-server-with-20-cores-40-threads-and-128-gb-memory.html" rel="alternate"/><published>2019-08-13T00:00:00+02:00</published><updated>2019-08-13T00:00:00+02:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2019-08-13:/my-home-lab-server-with-20-cores-40-threads-and-128-gb-memory.html</id><summary type="html">&lt;hr&gt;

&lt;p&gt;&lt;strong&gt;Update fall 2024&lt;/strong&gt;
I have decided to decomission this machine and it is no longer in use.&lt;/p&gt;
&lt;p&gt;As of this moment, it's replaced by a cluster of four 1L PCs which use about a third of the idle power usage and boot within 20 seconds. The single-core performance of these …&lt;/p&gt;</summary><content type="html">&lt;hr&gt;

&lt;p&gt;&lt;strong&gt;Update fall 2024&lt;/strong&gt;
I have decided to decomission this machine and it is no longer in use.&lt;/p&gt;
&lt;p&gt;As of this moment, it's replaced by a cluster of four 1L PCs which use about a third of the idle power usage and boot within 20 seconds. The single-core performance of these low-power 1L PCs surpasses the performance of this older machine. &lt;/p&gt;
&lt;p&gt;If I even decide to build a new lab server with a lot of cores and memory in a single machine, I'll build a regular system and won't use datacenter hardware anymore due to the noise and slow boot process. &lt;/p&gt;
&lt;hr&gt;

&lt;p&gt;&lt;img alt="dl380gen8" src="https://louwrentius.com/static/images/dl380g8.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;I've bought a secondhand HP DL380p Gen8 server and I think it's awesome. &lt;/p&gt;
&lt;p&gt;This machine has dual-processors, with each &lt;a href="https://ark.intel.com/content/www/us/en/ark/products/75277/intel-xeon-processor-e5-2680-v2-25m-cache-2-80-ghz.html"&gt;CPU&lt;/a&gt; having 10 physical cores and two threads per core, for a grand total of 20 cores / 40 threads for the entire machine. It's also equiped with 128 GB or memory.&lt;/p&gt;
&lt;p&gt;&lt;img alt="htop" src="https://louwrentius.com/static/images/dl380htop01.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Laughs in htop&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I bought this machine because I wanted to have a dedicated server on which I run my home lab environment. This is the box on which I will try out new software, run experiments, test ideas and so on. &lt;/p&gt;
&lt;p&gt;In this article I'd like to share some information about this machine and my experiences with it. Let's start with an overview of the specifications.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: this article featured on Hacker News, &lt;a href="https://news.ycombinator.com/item?id=20687521"&gt;click here&lt;/a&gt; for the discussion thread.&lt;/p&gt;
&lt;h2&gt;HP DL380p Gen8 Specifications&lt;/h2&gt;
&lt;p&gt;&lt;/p&gt;
&lt;table border="0" cellpadding="7" cellspacing="2" &gt;
&lt;tr&gt;&lt;th&gt;Part&lt;/th&gt;&lt;th&gt;Description &lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Form factor&lt;/td&gt;&lt;td&gt;19" 2U rackmount&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Processor&lt;/td&gt;&lt;td &gt;2 x Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;RAM&lt;/td&gt;&lt;td &gt;128 GB DDR3 (16 x 8GB)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Onboard LAN&lt;/td&gt;&lt;td &gt;4 x Broadcom 1 Gigabit (Copper) &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;RAID Controller&lt;/td&gt;&lt;td &gt; HP P420i &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Storage&lt;/td&gt;&lt;td &gt; 8 x 2.5" SAS/SATA slots (no media)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;PSU&lt;/td&gt;&lt;td &gt;1 x 750 Watt&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Power usage&lt;/td&gt;&lt;td &gt;about &amp;nbsp; 110 Watt idle&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;KVM&lt;/td&gt;&lt;td &gt;HP iLO 4  with HTML5 console&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

&lt;h2&gt;Cost&lt;/h2&gt;
&lt;p&gt;I've bought this server for around 1500 Euro ($1700) including taxes (21%) and a one year warranty. I've bought it from the company &lt;a href="https://creoserver.com"&gt;https://creoserver.com&lt;/a&gt; (The Netherlands).&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Update 2021:&lt;/strong&gt; This kind / generation of hardware seems to be dumped on the market for less than half of what I paid for it at the time. &lt;/p&gt;
&lt;hr&gt;

&lt;p&gt;I believe that the price/performance balance for this server is quite good, but I let you be the judge of that.&lt;/p&gt;
&lt;p&gt;The storage is based on some SSDs I already owned and some new SSDs I've bought separately. So the price is based on the chassis + storage caddies but without actual storage media.&lt;/p&gt;
&lt;h2&gt;Age&lt;/h2&gt;
&lt;p&gt;The HP DL380p Gen8 product generation was introduced in 2012. 
The configuration I have chosen is based on a CPU that was introduced in 2013. Based on the serial number I guess the chassis+motherboard is from 2014 (about 5 years old&lt;sup id="fnref:age"&gt;&lt;a class="footnote-ref" href="#fn:age"&gt;1&lt;/a&gt;&lt;/sup&gt; at the time I bought it). &lt;/p&gt;
&lt;h2&gt;CPU - The Intel Xeon E5-2680 v2&lt;/h2&gt;
&lt;p&gt;The Intel Xeon E5-2680 v2 CPU &lt;a href="https://www.anandtech.com/show/7285/intel-xeon-e5-2600-v2-12-core-ivy-bridge-ep"&gt;originated from late 2013&lt;/a&gt; and is based on the ivy bridge architecture. The base clock is 2.8 Ghz but it can turbo boost up to 3.6 Ghz. With 10C/20T per CPU and the dual-processor configuration it's needless to say that you can run quite a few virtual machines and/or containers in parallel on this machine, without even oversubscribing CPU cores.&lt;/p&gt;
&lt;p&gt;You may ask what kind of performance you may expect from this box and how 2013 holds up in 2019. A high number of cores is nice, but the cores themselves fast enough? &lt;/p&gt;
&lt;p&gt;The 2680v2 is a processor that sold for about $1700 (Intel Ark) when it came out in 2013. If you look at the list of Xeon processors from that timeframe, it was the top of the line Intel dual-processor compatible CPU with only the E5-2690 v2 processor above it, which ran only 200 Mhz faster (base clock).&lt;/p&gt;
&lt;p&gt;There was almost nothing better at that time and people ran their companies on those machines so I think performance is more than enough. Especially for a lab environment (overkill is probably an understatement).&lt;/p&gt;
&lt;p&gt;I've included some benchmark results below just for reference. You can use this information to make some comparisons to other CPUs that you are familiar with to get some sense of the performance. &lt;/p&gt;
&lt;p&gt;I've also compared scores a little bit and I've noticed that people in the past were perfectly happy gaming on desktop systems with CPUs that have equal or less single core performance.&lt;/p&gt;
&lt;h3&gt;Geekbench 4 score&lt;/h3&gt;
&lt;p&gt;I've run Geekbench on the DL380p Gen8:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;Single Core:  3525
Multi Core : 48764
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Passmark&lt;/h3&gt;
&lt;p&gt;(&lt;a href="https://www.cpubenchmark.net/cpu.php?cpu=Intel+Xeon+E5-2680+v2+%40+2.80GHz&amp;amp;id=2061"&gt;source&lt;/a&gt;)&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;Single Core:  1788
Multi Core : 12612
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Sysbench&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;root@dora:/home/ansible# sysbench --test=cpu --cpu-max-prime=20000 run
[.....]
General statistics:
    total time:                          10.0002s
    total number of events:              4358
[.....]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Some perspective: My intel Mac mini 2018 and my game pc from 2013 also hit &lt;strong&gt;10 seconds&lt;/strong&gt; runtime. For whoever thinks they should work with 'cheap' Raspberry Pi's, this is the sysbench score of a Raspberry Pi 3B+.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;Test execution summary:
    total time:                          328.3016s
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;It's 32x slower. I really recommend to not use Pi's except for electronic projects. The performance is so bad, it's not worth it. Even a small VM on your desktop/laptop is already way faster. &lt;/p&gt;
&lt;h3&gt;Other benchmarks&lt;/h3&gt;
&lt;p&gt;I won't promise anything, but if it's not too much work I can run a benchmark if you have any suggestions. Feel free to comment down below or email me.&lt;/p&gt;
&lt;h2&gt;Memory&lt;/h2&gt;
&lt;p&gt;I've ordered this machine with 128GB of DDR3 memory. The memory consists of 16 x 8GB 1333Mhz memory modules. The machine has 12 memory slots per CPU so there are still 8 slots left to be filled if I ever feel a need to expand memory.&lt;/p&gt;
&lt;h2&gt;Storage&lt;/h2&gt;
&lt;h3&gt;Drive slots&lt;/h3&gt;
&lt;p&gt;I've chosen a chassis with room for 8 x 2.5" drives. Depending on the chassis model, you can go up to 25 x 2.5" (Small Form Factor) or 12 x 3.5" (Large Form Factor).&lt;/p&gt;
&lt;p&gt;Both SAS and SATA HDDs/SSDs are supported. You can't just stick HDDs or SSDs in the drive slots, you need to put your HDD/SSD first in an empty caddy, I bought those with the server.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/caddy02.jpg"&gt;&lt;img alt="caddy" src="https://louwrentius.com/static/images/caddy02.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The caddy has the LED lights build-in to signal the drive status. It has some electrical contacts at the back for those lights, it's not just a plastic 'sabot'.&lt;/p&gt;
&lt;p&gt;My caddies tended to be a bit fragile, they came apart when trying to pull a drive out of the cage, but nothing broke and it all works fine.&lt;/p&gt;
&lt;h3&gt;Drive compatibility&lt;/h3&gt;
&lt;p&gt;HP servers can be picky about which HDD disk drives work or won't work. They all technically work, but sometimes the disk temperature cannot be read by the controller. In that case, the system fans will slowly start to spin faster and faster until almost maximum speed. This is obviously not workable.&lt;/p&gt;
&lt;p&gt;Smaller HDD drives did work fine and the server stayed quiet. Only some 500GB HDD drives caused 'thermal runaway'. &lt;/p&gt;
&lt;p&gt;I've found &lt;a href="http://dascomputerconsultants.com/HPCompaqServerDrives.htm"&gt;this table&lt;/a&gt; of supported and unsupported drives for HP controllers.&lt;/p&gt;
&lt;h3&gt;Overview of SSDs that are compatible&lt;/h3&gt;
&lt;p&gt;I've tested these SSDs:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;- Samsung 860 Pro (consumer)
- Samsung PM833   (enterprise)
- Intel D3-S4610  (enterprise)
- Crucial MX200   (consumer)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;P420i RAID mode vs. HBA mode&lt;/h3&gt;
&lt;p&gt;Important: you can't boot from the storage controller in HBA mode. You are left with booting from internal/external USB (2.0) or internal SD card.&lt;/p&gt;
&lt;p&gt;I'm not sure if there is any significant performance difference between the two modes for SSDs. I just want to be able to boot from one of the drives, not from USB/SD card.&lt;/p&gt;
&lt;h3&gt;Storage management - ssacli tool&lt;/h3&gt;
&lt;p&gt;To configure the P420i RAID controller, It's highly recommended to install the ssacli tool from HP. Otherwise you have to reboot and wait 10 minutes (no joke) to enter the 'Smart Array Configuration Utility' to make changes to the storage configuration.&lt;/p&gt;
&lt;p&gt;I just followed these instructions to install this tool on Ubuntu:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;curl http://downloads.linux.hpe.com/SDR/hpPublicKey1024.pub | apt-key add -
curl http://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | apt-key add -
curl http://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | apt-key add -
curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Contents of /etc/apt/sources.list.d/hp.list:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;deb http://downloads.linux.hpe.com/SDR/repo/mcp/Ubuntu bionic/current non-free
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;For Debian: &lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;deb http://downloads.linux.hpe.com/SDR/repo/mcp/debian bookworm/current non-free
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Installing the software:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;apt-get update
apt-get install ssacli
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Some examples:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;ssacli ctrl all show detail
ssacli ctrl slot=0 array all show detail
ssacli ctrl slot=0 ld all show detail
ssacli ctrl slot=0 pd all show detail
ssacli ctrl slot=0 ld 7 delete
ssacli ctrl slot=0 create type=ld raid=0 drives=2I:2:7 ss=8 ssdopo=off
ssacli ctrl slot=0 array i modify ssdsmartpath=disable
ssacli ctrl slot=0 pd 1 modify led=on
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;RAID vs non-RAID&lt;/h3&gt;
&lt;p&gt;You are forced by the RAID controller to always create a RAID array, even if you don't need the redundancy or performance.&lt;/p&gt;
&lt;p&gt;I've chosen to just put SSDs in individual RAID0 logical drives, making them effectively individual drives from the perspective of the operating system. I'm not running a mission-critical application so this is fine for me.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/hpfront01.jpg"&gt;&lt;img alt="frontside" src="https://louwrentius.com/static/images/hpfront01.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A small downside is that the bright red square light on each drive will permanently glow up. That light signals truthfully that you cannot remove a drive without killing the 'array'. I've not seen any option to turn this off, which I can understand.&lt;/p&gt;
&lt;h2&gt;Sound / Noise level&lt;/h2&gt;
&lt;h3&gt;Idle sound level&lt;/h3&gt;
&lt;p&gt;I've taken some sound measurements using my iPhone with an app, so how reliable this is, I don't know but it's something.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;During boot time (full fan speed)  : 62 dB
Idle, booted into operating system : 50 dB
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To set some expectations:&lt;/p&gt;
&lt;p&gt;My very subjective opinion is that at 50 dB the sound level is reasonable for a server like this, but it's definitely not quiet. I would not be able to work, relax or sleep with this server in the same room.&lt;/p&gt;
&lt;p&gt;Although this server is fairly quiet at idle, it does need its own dedicated room. When the door is closed, you won't hear it at idle, but under sustained load, you will hear high pitched fan noise even with a closed door.&lt;/p&gt;
&lt;h3&gt;Impact of adding a PCIe card on noise level&lt;/h3&gt;
&lt;p&gt;When you put any kind of PCIe card in the server, two of its six fans in-line with the PCIe expansion slot will run at 40%+ to cool these cards.&lt;/p&gt;
&lt;p&gt;The sound level will become a bit annoying. I've not found any option to disable this behavior. This means that if you need to expand the server with additional network ports or other components, the server really needs a room with a closed door. &lt;/p&gt;
&lt;p&gt;Please note that if you want to keep noise levels down but want to upgrade to 10Gbit networking, you could opt to configure the server with Flexlom 2 x 10Gbit instead of the stock Flexlom 4 x 1 Gbit copper. This will give you more bandwidth without the need to add a PCIe card.&lt;/p&gt;
&lt;p&gt;At this time, I have no need to add any high-speed networking as I can run the simulations all on the machine itself (at least that's the plan).&lt;/p&gt;
&lt;h2&gt;Idle power usage&lt;/h2&gt;
&lt;p&gt;The DL380p has several BIOS settings that trade performance for (idle) power consumption. I have tested the performance and idle power usage for two power profiles:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;HP Power Profile: Balanced Power and Performance
Present Power Reading: 76 Watts
Geekbench Single Core score: 2836

HP Power Profile: Static High Performance
Present Power Reading:  100 Watts
Geekbench Single Core score: 3525
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Please note:&lt;/strong&gt; that actual power usage includes +10 Watt for the iLO interface, to the system would use &lt;em&gt;86 Watt&lt;/em&gt; or &lt;em&gt;110 Watt&lt;/em&gt; at the wall outlet.&lt;/p&gt;
&lt;p&gt;What we can learn from the above test results is that the high performance setting uses 31% more power at idle and in return you get 20% more single core performance.&lt;/p&gt;
&lt;p&gt;The server supports (obviously) dual power supplies but that option only adds cost, increases power usage and gains me nothing. I'm not running a mission-critical business with this server.&lt;/p&gt;
&lt;p&gt;By default, this server is turned off. When I want to do some work, I turn the server on using wake-on-lan. I do this with all my equipment except for my router/firewall.&lt;/p&gt;
&lt;h2&gt;Boot up time&lt;/h2&gt;
&lt;p&gt;I clocked 4 minutes and 28 seconds until I got a ping reply from the operating system. &lt;/p&gt;
&lt;iframe width="560" height="315" src="https://www.youtube.com/embed/ekSCmTgMh7k" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen&gt;&lt;/iframe&gt;

&lt;h2&gt;KVM / iLO (Remote Management)&lt;/h2&gt;
&lt;p&gt;As with almost all HP servers, this machine has a dedicated remote management port + engine (iLO) so you can do everything remotely, such as powering the server on/off. You also have access to a virtual console (KVM over IP) and virtual CD-ROM drive to remotely provision the server.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/hpback01.jpg"&gt;&lt;img alt="backside" src="https://louwrentius.com/static/images/hpback01.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For those of you who are less familiar with this hardware: notice the network interface left of the VGA connector. This is the iLO remote management interface. It's a mini computer with its own operatingsystem and IP-address, thus reachable from the network. &lt;/p&gt;
&lt;p&gt;In the past iLO or similar solutions were a pain to use because you need Java or .NET to use the virtual console. With the &lt;a href="https://www.storagereview.com/hpe_releases_ilo_4_270_firmware_update"&gt;ilO 2.7 update&lt;/a&gt; you will have a HTML5 interace, doing away with the need for both Java as .NET. This is a huge usability improvement.&lt;/p&gt;
&lt;h2&gt;Operating system&lt;/h2&gt;
&lt;p&gt;I'm currently running Ubuntu Linux 18.04 and using plain vanilla KVM to spawn virtual machines, wich works fine. Everything is maintained/configured with Ansible.&lt;/p&gt;
&lt;h2&gt;Closing words&lt;/h2&gt;
&lt;p&gt;I hope this overview was informative. Maybe it could be an option for yourself to consider if you ever want to setup a home lab yourself. &lt;/p&gt;
&lt;div class="footnote"&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id="fn:age"&gt;
&lt;p&gt;As far as I know this is not 100% reliable as the motherboard serial number can be changed to match the chassis when it's replaced due to failure. I guess it will have to do.&amp;#160;&lt;a class="footnote-backref" href="#fnref:age" title="Jump back to footnote 1 in the text"&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content><category term="Hardware"/><category term="Server"/></entry><entry><title>HP Proliant Microserver Gen10 as router or NAS</title><link href="https://louwrentius.com/hp-proliant-microserver-gen10-as-router-or-nas.html" rel="alternate"/><published>2017-09-14T12:00:00+02:00</published><updated>2017-09-14T12:00:00+02:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2017-09-14:/hp-proliant-microserver-gen10-as-router-or-nas.html</id><summary type="html">&lt;h3&gt;Introduction&lt;/h3&gt;
&lt;p&gt;In the summer of 2017, HP released the &lt;a href="https://www.hpe.com/h20195/v2/GetDocument.aspx?docname=a00008701enw&amp;amp;doctype=quickspecs&amp;amp;doclang=EN_US&amp;amp;searchquery=&amp;amp;cc=us&amp;amp;lc=en"&gt;Proliant Microserver Gen10&lt;/a&gt;. This machine replaces the older Gen8 model.&lt;/p&gt;
&lt;p&gt;&lt;img alt="gen10" src="https://louwrentius.com/static/images/gen10.png" /&gt;&lt;/p&gt;
&lt;p&gt;For hobbyists, the Microserver always has been an interesting device for a custom home NAS build or as a router. &lt;/p&gt;
&lt;p&gt;Let's find out if this is still the case. &lt;/p&gt;
&lt;h3&gt;Price&lt;/h3&gt;
&lt;p&gt;In …&lt;/p&gt;</summary><content type="html">&lt;h3&gt;Introduction&lt;/h3&gt;
&lt;p&gt;In the summer of 2017, HP released the &lt;a href="https://www.hpe.com/h20195/v2/GetDocument.aspx?docname=a00008701enw&amp;amp;doctype=quickspecs&amp;amp;doclang=EN_US&amp;amp;searchquery=&amp;amp;cc=us&amp;amp;lc=en"&gt;Proliant Microserver Gen10&lt;/a&gt;. This machine replaces the older Gen8 model.&lt;/p&gt;
&lt;p&gt;&lt;img alt="gen10" src="https://louwrentius.com/static/images/gen10.png" /&gt;&lt;/p&gt;
&lt;p&gt;For hobbyists, the Microserver always has been an interesting device for a custom home NAS build or as a router. &lt;/p&gt;
&lt;p&gt;Let's find out if this is still the case. &lt;/p&gt;
&lt;h3&gt;Price&lt;/h3&gt;
&lt;p&gt;In The Netherlands, the price of the entry-level model is similar to the Gen8: around €220 including taxes. &lt;/p&gt;
&lt;h3&gt;CPU&lt;/h3&gt;
&lt;p&gt;The new AMD X3216 processor has slightly better single threaded performance &lt;a href="https://www.cpubenchmark.net/compare.php?cmp[]=2075&amp;amp;cmp[]=3069"&gt;as compared to&lt;/a&gt; the older G1610t in the Gen8. Overall, both devices seem to have similar CPU performance.&lt;/p&gt;
&lt;p&gt;The biggest difference is the TDP: 35 Watt for the Celeron vs 15 Watt for the AMD CPU. &lt;/p&gt;
&lt;h3&gt;Memory&lt;/h3&gt;
&lt;p&gt;By default, it has 8 GB of unbuffered ECC memory, that's 4 GB more than the old model. Only one of the two memory slots is occupied, so you can double that amount just by adding another 8 GB stick. It seems that 32 GB is the maximum. &lt;/p&gt;
&lt;h3&gt;Storage&lt;/h3&gt;
&lt;p&gt;This machine has retained the four 3.5" drive slots. There are no drive brackets anymore. Before inserting a hard drive, you need to remove a bunch of screws from the front of the chassis and put four of them in the mounting holes of each drive. These screws then guide the drive through grooves into the drive slot. This caddy-less design works perfectly and the drive is mounted rock-solid in it's position.&lt;/p&gt;
&lt;p&gt;To pop a drive out, you have to press the appropriate blue lever, which latches on to one of the front screws mounted on your drive and pulls it out of the slot.&lt;/p&gt;
&lt;p&gt;There are two on-board sata controllers. &lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="mo"&gt;00&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mf"&gt;11.0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;SATA&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;controller&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Advanced&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Micro&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Devices&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Inc&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;AMD&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;FCH&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;SATA&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Controller&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;AHCI&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;mode&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rev&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;49&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="mo"&gt;01&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mf"&gt;00.0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;SATA&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;controller&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Marvell&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Technology&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Group&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Ltd&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;88&lt;/span&gt;&lt;span class="n"&gt;SE9230&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;PCIe&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;SATA&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="n"&gt;Gb&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Controller&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rev&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;11&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The Marvell controller is connected to the four drive bays. The AMD controller is probably connected to the fifth on-board SATA port.&lt;/p&gt;
&lt;p&gt;As with the Gen8, you need a floppy-power-connector-to-sata-power-connector cable if you want to use a SATA drive with the fifth onboard SATA port.&lt;/p&gt;
&lt;p&gt;Due to the internal SATA header or the USB2.0 header, you could decide to run the OS without redundancy and use all four drive bays for storage. As solid state drives tend to be very reliable, you may use a small SSD to keep the cost and power usage down and still retain reliability (although not the level of reliability RAID1 provides). &lt;/p&gt;
&lt;h3&gt;Networking&lt;/h3&gt;
&lt;p&gt;Just as the Gen8, the Gen10 has two Gigabit network cards. The brand and model is: Broadcom Limited NetXtreme BCM5720&lt;/p&gt;
&lt;p&gt;As tested with &lt;em&gt;iperf3&lt;/em&gt; I get full 1 Gbit network performance. No problems here (tested on CentOS 7).&lt;/p&gt;
&lt;h3&gt;PCIe slots&lt;/h3&gt;
&lt;p&gt;This model has two half-height PCIe slots (1x and 8x in a 4x and 8x physical slot) which is an improvement over the single PCIe slot in the Gen8. &lt;/p&gt;
&lt;h3&gt;USB&lt;/h3&gt;
&lt;p&gt;The USB configuration is similar to the Gen8, with both USB2 and USB3 ports and one internal USB2 header on the motherboard. &lt;/p&gt;
&lt;p&gt;Sidenote: the onboard micro SD card slot as found in the Gen8 is &lt;em&gt;not&lt;/em&gt; present in the Gen10.&lt;/p&gt;
&lt;h3&gt;Graphics&lt;/h3&gt;
&lt;p&gt;The Gen10 has also a GPU build-in but I have not looked into it as I have no use for it. &lt;/p&gt;
&lt;p&gt;The Gen10 differs in output options as compared to the Gen8: it supports one VGA and two displayport connections. Those displayport connectors could make the Gen10 an interesting DIY HTPC build, but I have not looked into it.&lt;/p&gt;
&lt;h3&gt;iLO&lt;/h3&gt;
&lt;p&gt;The Gen10 has &lt;strong&gt;no&lt;/strong&gt; support for iLO. So no remote management, unless you have an external KVM-over-IP solution.&lt;/p&gt;
&lt;p&gt;This is a downside, but for home users, this is probably not a big deal. My old Microserver N40L didn't have iLO and it never bothered me. &lt;/p&gt;
&lt;p&gt;And most of all: iLO is a small on-board mini-comuter that increases idle power consumption. So the lack of iLO support should mean better idle power consumption.&lt;/p&gt;
&lt;h3&gt;Boot&lt;/h3&gt;
&lt;p&gt;Both Legacy and UEFI boot is supported. I have not tried UEFI booting. &lt;/p&gt;
&lt;p&gt;Booting from the 5th internal SATA header is supported and works fine (as opposed to the Gen8). &lt;/p&gt;
&lt;p&gt;For those who care: booting is a lot quicker as opposed to the Gen8, which took ages to get through the BIOS.&lt;/p&gt;
&lt;h3&gt;Power Usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;I have updated this segment as I have used some incorrect information in the original article.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The Gen10 seems to consume &lt;em&gt;14 Watt at idle&lt;/em&gt;, booted into Centos 7 &lt;em&gt;without any disk drives attached&lt;/em&gt; (removed all drives after booting). This 14 Watt figure is reported by my external power meter.&lt;/p&gt;
&lt;p&gt;Adding a single old 7200 1 TB drive drives power usage up to 21 Watt (as expected). &lt;/p&gt;
&lt;p&gt;With four older 7200 RPM drives the entire system uses about 43 Watt according to the external power meter. &lt;/p&gt;
&lt;p&gt;As an experiment, I've put two old 60 GB 2.5" laptop drives in the first two slots, configured as RAID1. Then I added two 1 TB 7200 RPM drives to fill up the remaining slots. This resulted in a power usage of 32 Watt.&lt;/p&gt;
&lt;h3&gt;Dimensions and exterior&lt;/h3&gt;
&lt;p&gt;Exactly the same as the Gen8, they stack perfectly. &lt;/p&gt;
&lt;p&gt;The Gen8 had a front door protecting the drive bays connected to the chassis with two hinges. HP has been cheap on the Gen10, so when you open the door, it basically falls off, there's no hinge. It's not a big issue, the overall build quality of the Gen10 is excellent.&lt;/p&gt;
&lt;p&gt;I have no objective measurements of noise levels, but the device seems almost silent to me.&lt;/p&gt;
&lt;h3&gt;Evaluation and conclusion&lt;/h3&gt;
&lt;p&gt;At first, I was a bit disappointed about the lack of iLO, but it turned out for the best. What makes the Gen10 so interesting is the idle power consumption. The lack of iLO support probably contributes to the improved idle power consumption.&lt;/p&gt;
&lt;p&gt;The Gen8 measures between 30 and 35 Watt idle power consumption, so the Gen10 does fare much better (~18 Watt). &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Firewall/Router&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;At this level of power consumption, the Gen10 could be a formidable router/firewall solution. The only real downside is it's size as compared to purpose-built firewalls/routers. The two network interfaces may provide sufficient network connectivity but if you need more ports and using VLANs is not enough, it's easy to add some extra ports. &lt;/p&gt;
&lt;p&gt;If an ancient N40L with a piss-poor Atom processor can handle a 500 Mbit internet connection, this device will have no problems with it, I'd presume. Once I've taken this device into production as a replacement for my existing router/firewall, I will share my experience.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Storage / NAS&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The Gen8 and Gen10 both have four SATA drive bays and a fifth internal SATA header. From this perspective, nothing has changed. The reduced idle power consumption could make the Gen10 an even more attractive option for a DIY home grown NAS. &lt;/p&gt;
&lt;p&gt;All things considered I think the Gen10 is a great device and I have not really encountered any downsides. If you have no problems putting a bit of effort into a DIY solution, the Gen10 is a great platform for a NAS or Router/Firewall, that can compete with most purpose-build devices.&lt;/p&gt;
&lt;p&gt;I may update this article as I gain more experience with this device.&lt;/p&gt;</content><category term="Hardware"/><category term="Storage"/><category term="Networking"/></entry><entry><title>Affordable server with server-grade hardware part II</title><link href="https://louwrentius.com/affordable-server-with-server-grade-hardware-part-ii.html" rel="alternate"/><published>2014-06-20T12:00:00+02:00</published><updated>2014-06-20T12:00:00+02:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2014-06-20:/affordable-server-with-server-grade-hardware-part-ii.html</id><summary type="html">&lt;p&gt;If you want to build a home server, it may be advised to actually use server-grade components. I documented the reasons for choosing server-grade hardware already in an &lt;a href="https://louwrentius.com/an-affordable-server-platform-based-on-server-grade-hardware.html"&gt;earlier post&lt;/a&gt; on this topic.  &lt;/p&gt;
&lt;p&gt;It is recommended to read the old post first. In this new post, I only show new …&lt;/p&gt;</summary><content type="html">&lt;p&gt;If you want to build a home server, it may be advised to actually use server-grade components. I documented the reasons for choosing server-grade hardware already in an &lt;a href="https://louwrentius.com/an-affordable-server-platform-based-on-server-grade-hardware.html"&gt;earlier post&lt;/a&gt; on this topic.  &lt;/p&gt;
&lt;p&gt;It is recommended to read the old post first. In this new post, I only show new hardware that could also be chosen as a more modern hardware option. &lt;/p&gt;
&lt;p&gt;My original post dates back to December 2013 and centers around the popular X9SCM-F which is based on the LGA 1155 socket. Please note that the X9SCM-F / LGA 1155 based solution may be cheaper if you want the Xeon processor. &lt;/p&gt;
&lt;p&gt;So I'd like to introduce two Supermicro motherboards that may be of interest.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.supermicro.com/products/motherboard/Xeon/C220/X10SLL-F.cfm"&gt;Supermicro X10SLL-F&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Supermicro X10SLL-F" src="https://www.supermicro.com/a_images/products/X10/C220/X10SLL-F_spec.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;Some key features are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;2 x Gigabit NIC on-board&lt;/li&gt;
&lt;li&gt;6 onboard SATA ports&lt;/li&gt;
&lt;li&gt;3 x PCIe (2 x 8x + 1 x 4x)&lt;/li&gt;
&lt;li&gt;Costs $169 or €160&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This board is one of the cheapest Supermicro boards you can get and it has 3 x PCI-e, which may be of interest if you need to install extra HBA's or RAID cards, SAS expanders and/or network controllers. &lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.supermicro.com/products/motherboard/Xeon/C220/X10SL7-F.cfm"&gt;Supermicro X10SL7-F&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Supermicro X10SL7-F" src="https://www.supermicro.com/a_images/products/X10/C220/X10SL7-F_spec.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;This board is about $80 or €90 more expensive than the X10SLL-F but in return, you get eight extra SAS/SATA ports, for a total of 14 SATA ports. With 4 TB drives, this would give you 56 TB of raw storage capacity. This motherboard provides a cheaper solution than an add-on HBA card, which would occupy a PCIe slot. Hoever, the's a caveat: this board has 'only' two PCIe slots. But there's still room for an additional quad-port or 10 Gbe NIC and an extra HBA if required.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;2 x Gigabit NIC on-board&lt;/li&gt;
&lt;li&gt;6 onboard SATA ports&lt;/li&gt;
&lt;li&gt;8 onboard SAS/SATA ports via LSI 2308 chip&lt;/li&gt;
&lt;li&gt;2 x PCIe (8x and 4x)&lt;/li&gt;
&lt;li&gt;Costs $242 or €250&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;Overview of CPU's&lt;/em&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tr&gt;&lt;td&gt;CPU&lt;/td&gt;&lt;td&gt;Passmark score&lt;/td&gt;&lt;td&gt;Price in Euro&lt;/td&gt;&lt;td&gt;Price in Dollars&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Intel Pentium G3420 @ 3.20GHz&lt;/td&gt;&lt;td&gt;3459&lt;/td&gt;&lt;td&gt;55 Euro&lt;/td&gt;&lt;td&gt;74 Dollar&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Intel Core i3-4130 @ 3.40GHz&lt;/td&gt;&lt;td&gt;4827&lt;/td&gt;&lt;td&gt;94 Euro&lt;/td&gt;&lt;td&gt;124 Dollar&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Intel Xeon E3-1230 V3 @ 3.30GHz&lt;/td&gt;&lt;td&gt;9459&lt;/td&gt;&lt;td&gt;216Euro&lt;/td&gt;&lt;td&gt;279 Dollar&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

&lt;ul&gt;
&lt;li&gt;Dollars are from Newegg, Euro's are from Tweakers.net.&lt;/li&gt;
&lt;li&gt;Euros are including taxes.&lt;/li&gt;
&lt;/ul&gt;</content><category term="Hardware"/><category term="Supermicro"/><category term="Intel"/><category term="ECC"/></entry><entry><title>HP Proliant Microserver N40L is a great NAS or Router</title><link href="https://louwrentius.com/hp-proliant-microserver-n40l-is-a-great-nas-or-router.html" rel="alternate"/><published>2012-07-29T09:00:00+02:00</published><updated>2012-07-29T09:00:00+02:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2012-07-29:/hp-proliant-microserver-n40l-is-a-great-nas-or-router.html</id><summary type="html">&lt;p&gt;&lt;em&gt;Update 2012-12-11:&lt;/em&gt; It seems that a &lt;a href="http://www.wegotserved.com/2011/12/21/hp-planning-powerful-proliant-microserver"&gt;new and faster&lt;/a&gt; version is on the horizon. &lt;/p&gt;
&lt;p&gt;&lt;em&gt;Update 2012-12-21:&lt;/em&gt; Yes, the new model &lt;a href="http://h10010.www1.hp.com/wwpc/uk/en/sm/WF06b/15351-15351-4237916-4237917-4237917-4248009-5336624.html?dnr=1"&gt;G7 N54L&lt;/a&gt; is out.&lt;/p&gt;
&lt;p&gt;Some products seem almost too good to be true and I think the &lt;a href="http://h10010.www1.hp.com/wwpc/me/en/sm/WF06b/15351-15351-4237916-4237917-4237917-4248009-5163346.html?dnr=1"&gt;HP Proliant Microserver N40L&lt;/a&gt; is one of them. If you are into the …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;em&gt;Update 2012-12-11:&lt;/em&gt; It seems that a &lt;a href="http://www.wegotserved.com/2011/12/21/hp-planning-powerful-proliant-microserver"&gt;new and faster&lt;/a&gt; version is on the horizon. &lt;/p&gt;
&lt;p&gt;&lt;em&gt;Update 2012-12-21:&lt;/em&gt; Yes, the new model &lt;a href="http://h10010.www1.hp.com/wwpc/uk/en/sm/WF06b/15351-15351-4237916-4237917-4237917-4248009-5336624.html?dnr=1"&gt;G7 N54L&lt;/a&gt; is out.&lt;/p&gt;
&lt;p&gt;Some products seem almost too good to be true and I think the &lt;a href="http://h10010.www1.hp.com/wwpc/me/en/sm/WF06b/15351-15351-4237916-4237917-4237917-4248009-5163346.html?dnr=1"&gt;HP Proliant Microserver N40L&lt;/a&gt; is one of them. If you are into the market for a very small, silent, efficient, yet capable home server, please take this device into consideration. I picked this device up for 200 euro's which is a bargain in my opinion.&lt;/p&gt;
&lt;p&gt;First, take a look. As you can determine from the size of the 5 1/4 inch bay, this device is really small. The fun thing is though, that behind that door is room for four 3.5 inch SATA hard drives.&lt;/p&gt;
&lt;p&gt;&lt;img alt="hp1" src="https://louwrentius.com/static/images/hp1.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;So you can put four large SATA disks into this device. It is just ideal as a home NAS, without resorting to expensive QNAP or Synology devices, which may not give you the flexibility you want. &lt;/p&gt;
&lt;p&gt;&lt;img alt="hp2" src="https://louwrentius.com/static/images/hp2.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;The on-board RAID controller only seems to support RAID 0 and RAID 1. If you want to make a NAS out of this device you want to go for RAID 5. So you have two options. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Buy an additional hardware RAID controller that supports RAID 5;&lt;/li&gt;
&lt;li&gt;Use Linux or BSD software RAID and don't spend a dime.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Processor&lt;/h3&gt;
&lt;p&gt;It contains the AMD equivalent of Intel's Atom processor, the Turion II Neo N40L dual-core, which runs at 1.5 Ghz. This CPU is not fast, but it is energy efficient and it helps keeping the device silent and cheap.&lt;/p&gt;
&lt;h3&gt;Memory&lt;/h3&gt;
&lt;p&gt;The device contains just 2 GB of ECC RAM. Sufficient for most tasks, but you can crank it up to 8 GB. The fact that you get ECC RAM in this device is a real plus, making this device extra reliable. &lt;/p&gt;
&lt;h3&gt;Disks&lt;/h3&gt;
&lt;p&gt;By default, a 250 GB disks is included. How they do that for this money is something I don't get. This disk takes up one of the four drive bays.         &lt;/p&gt;
&lt;p&gt;Personally, I would not use the 5 1/4 slot for an optical drive, (who uses them anyway in a server), instead, I would look into a solution where you can put the stock drive into that space, to make room for an additional disk for file storage. Useful in case you are building a NAS.&lt;/p&gt;
&lt;p&gt;You may even install additional 2.5" disks with solutions like &lt;a href="http://www.sharkoon.com/?q=en/node/1824"&gt;this&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Expansion&lt;/h3&gt;
&lt;p&gt;The microserver has two half-height PCIe slots, one x16 and one x1. It has also an esata connector at the back, so you can connect an external disks for backups or something. There are two USB ports at the back, four at the front. I wish they put four at the back and two at the front.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://louwrentius.com/static/images/hp3g.jpg"&gt;&lt;img alt="details" src="https://louwrentius.com/static/images/hp3.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;See also &lt;a href="http://h18000.www1.hp.com/products/quickspecs/13716_div/13716_div.html"&gt;this page&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Environment&lt;/h3&gt;
&lt;p&gt;The device is very economic, I estimate power consumption at about 25 watt when idle. I measured 35 watt through my UPS, but there where also two external disk drives and a network switch connected to the UPS.&lt;/p&gt;
&lt;p&gt;Noise levels are also excelent. There are just two fans. One very large fan at the back, that just seem to cool the entire device. The second fan is housed inside the tiny power supply, but although it is small, the fan makes little noise. When it is idle, you don't hear this server running.&lt;/p&gt;
&lt;h3&gt;Compatibility&lt;/h3&gt;
&lt;p&gt;I was able to install Ubuntu 12.04 LTS out-of-the-box. Is running fine. I didn't test any other operating systems. &lt;/p&gt;
&lt;h3&gt;Reason for purchase&lt;/h3&gt;
&lt;p&gt;I wanted to replace my Linux router (an old Mac Mini) with a device that can house two disk drives, so I could implement RAID 1. I use it as a Router/Firewall. But I also run a website on it, some monitoring software, so that's why I didn't want to buy a regular Linksys or Zytel embedded router.&lt;/p&gt;
&lt;p&gt;Although this server has only one network interface, I use VLAN tagging with a VLAN-capable switch, so this is not a problem. Otherwise, I would just add a second Gigabyte half-height PCIe NIC.&lt;/p&gt;
&lt;h3&gt;Final words&lt;/h3&gt;
&lt;p&gt;It's an ideal device for any computer enthousiast who wants more flexibility than a standard NAS or embedded router can offer. It's cheap, small, silent and power efficient. Those HP engineers who created this device should get a thumbs up.&lt;/p&gt;</content><category term="Hardware"/></entry><entry><title>Buying a new computer</title><link href="https://louwrentius.com/buying-a-new-computer.html" rel="alternate"/><published>2011-04-03T15:43:00+02:00</published><updated>2011-04-03T15:43:00+02:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2011-04-03:/buying-a-new-computer.html</id><summary type="html">&lt;p&gt;*** Desktop or Laptop ***&lt;/p&gt;
&lt;p&gt;When deciding on which computer to buy, the first decision you have to make is about whether to go for a desktop or a laptop. There was a time that many believed that the desktop would become a niche product. Most people want a laptop because they …&lt;/p&gt;</summary><content type="html">&lt;p&gt;*** Desktop or Laptop ***&lt;/p&gt;
&lt;p&gt;When deciding on which computer to buy, the first decision you have to make is about whether to go for a desktop or a laptop. There was a time that many believed that the desktop would become a niche product. Most people want a laptop because they can take their computer everywhere they want to. Or at least lie on the couch while surfing.&lt;/p&gt;
&lt;p&gt;If you want a laptop that also must replace your desktop, it must have a good screen, be fast and have lots of storage. And laptops are so good these days, they can be desktop replacements. Even if you buy a small laptop, they can still be fast and when necessary, you just hook up an external display, mouse and keyboard.&lt;/p&gt;
&lt;p&gt;This is how I worked for many years and I still do. But I consider switching back to a desktop-based computer.&lt;/p&gt;
&lt;p&gt;*** Mac and PC ***&lt;/p&gt;
&lt;p&gt;I have two computers. The first one is an Intel-based Macbook (black) mid-2007, which is my main computer. The second one is a custom-build PC running Windows, solely for the purpose of gaming. This PC is based on Intel's Core i7 920, with 6 GB of RAM, so it's quite fast, even for today standards.&lt;/p&gt;
&lt;p&gt;Both Macbook and PC are connected to a &lt;a href="http://www.aten.com/doc_data/pdf_dm/cs1784_specsheet_en.pdf"&gt;DVI KVM switch&lt;/a&gt;, that allows me to switch the keyboard, video and mouse between those systems. They thus both share my EIZO 24" (1920x1200) screen, keyboard and mouse. &lt;/p&gt;
&lt;p&gt;Apart from these systems, I own an iPhone and an iPad.&lt;/p&gt;
&lt;p&gt;*** Replacing my Macbook ***&lt;/p&gt;
&lt;p&gt;For the last half year, I started to get annoyed with my Macbook. It just got slow. I put in a faster hard drive, but to no avail. The Macbook wasn't responsive enough. So I started thinking about replacing my Macbook. The first thing I realised that I do not need a laptop. I have an iPhone and an iPad, so sending emails, reading web pages, no problem. I do not tend to work on my Macbook outside of my house. So I don't think I need the mobility of a laptop. I want a fast but quiet, affordable computer attached to a high-resolution screen. &lt;/p&gt;
&lt;p&gt;If you are a Mac user, there are three options: an Mac mini, an iMac or a Mac pro. I consider the Mac mini to low on specs and the Mac pro is just way too expensive. That leaves the option of an iMac.&lt;/p&gt;
&lt;p&gt;*** Going for an iMac ***&lt;/p&gt;
&lt;p&gt;Since I love high-resolution displays, the iMac 27" does appeal to me very much. The screen is just gorgeous. And you can put an Intel Core i7 into it, so it can be fast too. Even the video card is decent enough to play most games, either on Mac OS X or on Windows using Bootcamp.&lt;/p&gt;
&lt;p&gt;Then after a discussion with a friend, I realised that the iMac would replace my PC. And my EIZO screen. New iMacs will probably arrive this summer, sporting even better processors, video cards, probably Thunderbolt. So I think I've made up my mind. I would still have my 'old' Macbook if I really needed any mobility. But I expect that once I have an iMac, both my PC and my Macbook are better off in the hands of somebody else. And I will need the money, an iMac is not cheap.&lt;/p&gt;
&lt;p&gt;Thinking about this all led me to believe that in general, I would rather go for a setup with an iMac and a very thin plus lightweight laptop like the Macbook Air, than to buy a chunky desktop-replacing laptop like a Macbook pro. The big advantage of the latter is that you always have all your stuff with you. But you pay a price. The first thing is the weight. I really dislike the weight of my Macbook at 2+ kilos. The second thing is the fact that you always have to (dis)connect all these cables every time you switch between "desktop mode" and "laptop mode". The third thing is the noise. When putting some strain on the processor and/or video card, laptops tend to get noisy. &lt;/p&gt;
&lt;p&gt;A desktop can give you true performance while still keeping things quiet and provide you with ample screen real estate. A netbook-like device such as the Macbook Air can give you true portability. I won't buy a Macbook Air, but this would be a really nice setup. The only thing you need to fix is the syncing problem. But there are services like Dropbox that may help you with that.&lt;/p&gt;
&lt;p&gt;*** Keeping my Macbook alive ***&lt;/p&gt;
&lt;p&gt;My PC has an Intel X25-M Postville 160 GB SSD installed as a fast boot disk. Since I couldn't stand the unresponsiveness of my Macbook anymore, I decided to put this SSD into my Macbook. This is cheaper than buying a new mac and I want to wait for that until the new iMac models arrive. &lt;/p&gt;
&lt;p&gt;Installing the SSD made my Macbook come alive again. The Macbook only sports a SATA 150 interface, but it's not about throughput. It's about random IO performance. I am very happy with the result, there is less of an urgent 'need' to replace the Macbook in the near future. I can wait calmly on the new iMacs and decide then what I want.&lt;/p&gt;
&lt;p&gt;*** Other people's thoughts ***&lt;/p&gt;
&lt;p&gt;There is also this &lt;a href="http://5by5.tv/talkshow/35"&gt;podcast&lt;/a&gt; where John Gruber of &lt;a href="http://daringfireball.net"&gt;Daring Fireball&lt;/a&gt; is telling about is his purchase of a Macbook Air and suggesting that he will replace his Macbook Pro 15" with an iMac eventually. &lt;/p&gt;</content><category term="Hardware"/></entry><entry><title>Some pretty NAS case designs</title><link href="https://louwrentius.com/some-pretty-nas-case-designs.html" rel="alternate"/><published>2011-01-08T19:00:00+01:00</published><updated>2011-01-08T19:00:00+01:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2011-01-08:/some-pretty-nas-case-designs.html</id><summary type="html">&lt;p&gt;If you are planning on building your own NAS box, I have some suggestions
regarding the case.&lt;/p&gt;
&lt;p&gt;In my opinion, most computer case designers have absolutely &lt;a href="http://www.google.com/search?q=Aerocool%C2%A0Vx-e"&gt;no taste&lt;/a&gt;.
Antec and Lian Li do create nice cases, but not that spectacular. And Lian Li is
just very expensive. A fairly new …&lt;/p&gt;</summary><content type="html">&lt;p&gt;If you are planning on building your own NAS box, I have some suggestions
regarding the case.&lt;/p&gt;
&lt;p&gt;In my opinion, most computer case designers have absolutely &lt;a href="http://www.google.com/search?q=Aerocool%C2%A0Vx-e"&gt;no taste&lt;/a&gt;.
Antec and Lian Li do create nice cases, but not that spectacular. And Lian Li is
just very expensive. A fairly new company called &lt;a href="http://www.fractal-design.com/"&gt;Fractal Design&lt;/a&gt; seems to be
different. To me, their designs are a breath of fresh air. For instance, if you
want to build just a small NAS system and you think that 6 drives is enough,
take a look at this beauty:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.fractal-design.com/?view=product&amp;amp;category=2&amp;amp;prod=42"&gt;&lt;img alt="small nas box" src="/static/images/fractal-array.jpg" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Just a small box with room for 6 drives. No hot swap stuff, but for personal
use, that is not that important I guess. Unfortunately, I also found this
&lt;a href="http://www.bit-tech.net/hardware/cases/2010/07/14/fractal-design-array-r2-m-itx-case-review"&gt;review&lt;/a&gt; which also agrees that the case is pretty but there are some
drawbacks. Too bad. I would still want to see more of such cases, but maybe with
a better designed interior.&lt;/p&gt;
&lt;p&gt;If you want to store more drives, Fractal Design seems to have another nice case
in store:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.fractal-design.com/?view=product&amp;amp;category=2&amp;amp;prod=58"&gt;&lt;img alt="mini case" src="/static/images/fractal-mini.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;More like a regular computer case but small and very sleek. Has room for 6
drives but you can use the 5,25 inch slots to store two or three additional
drives. It is still very small. It's fairly new, I found no product reviews.&lt;/p&gt;
&lt;p&gt;If that is not enough, just take a look at the Define R3 case:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.fractal-design.com/?view=product&amp;amp;category=2&amp;amp;prod=52"&gt;&lt;img alt="r3" src="/static/images/fractal-r3-small.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Seems very pretty to me, has room for 8 disks by default and can host at least
10 disks if you also use the 5,25 inch slots. This &lt;a href="http://www.bit-tech.net/hardware/cases/2010/10/29/fractal-design-define-r3-review/"&gt;review&lt;/a&gt; is quite
positive about the case.&lt;/p&gt;
&lt;p&gt;A rather old case from Chieftec which I still like and is quite cheap:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.chieftec.com/CH01.html"&gt;&lt;img alt="chieftec" src="/static/images/chieftech-midi.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This case is not in the same league as the Fractal cases, but is cheaper and
still does the trick. I used this case to build my first NAS and I don't have
much to complain. It is no problem to fit in 10 disks. There are two things to
note:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;there are no filters on the case. You have to create something yourself.&lt;/li&gt;
&lt;li&gt;De space between the side panel and the drive connectors is 'limited'.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you have any suggestions for nice NAS cases, feel free to leave a comment. &lt;/p&gt;</content><category term="Hardware"/></entry><entry><title>Belkin Gigabit USB 2.0 adapter works perfectly with Linux</title><link href="https://louwrentius.com/belkin-gigabit-usb-20-adapter-works-perfectly-with-linux.html" rel="alternate"/><published>2010-12-08T20:53:00+01:00</published><updated>2010-12-08T20:53:00+01:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2010-12-08:/belkin-gigabit-usb-20-adapter-works-perfectly-with-linux.html</id><summary type="html">&lt;p&gt;My ISP upgraded my internet connection speed to a whopping 120 Mbit. I am
using a &lt;a href="https://louwrentius.com/blog/2009/11/how-to-run-debian-linux-on-an-intel-based-mac-mini/"&gt;mac mini&lt;/a&gt; as my internet router. As you may be aware, the mini has
only one network interface, so I added a second interface using a USB to
ethernet adapter. This adapter was limited …&lt;/p&gt;</summary><content type="html">&lt;p&gt;My ISP upgraded my internet connection speed to a whopping 120 Mbit. I am
using a &lt;a href="https://louwrentius.com/blog/2009/11/how-to-run-debian-linux-on-an-intel-based-mac-mini/"&gt;mac mini&lt;/a&gt; as my internet router. As you may be aware, the mini has
only one network interface, so I added a second interface using a USB to
ethernet adapter. This adapter was limited to 100 Mbit, so to make full use of
the 120 Mbit connection, I had to upgrade this adapter.&lt;/p&gt;
&lt;p&gt;I took the gamble and bought the &lt;a href="http://www.belkin.com/IWCatProductPage.process?Product_Id=258897"&gt;Belkin Gigabit USB 2.0&lt;/a&gt; adapter. I could
not figure out if it would work with Linux, but on the box it officially
supports Mac OS X, which is always a good sign.&lt;/p&gt;
&lt;p&gt;&lt;a href="/static/images/belkin-gigabit.jpg"&gt;&lt;img alt="image" src="/static/images/belkin-gigabit.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This adapter is recognized by Debian Linux without a hitch:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;Mini&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;~&lt;/span&gt;&lt;span class="c1"&gt;# ethtool -i eth0&lt;/span&gt;
&lt;span class="n"&gt;driver&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;asix&lt;/span&gt;
&lt;span class="n"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;14&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;Jun&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2006&lt;/span&gt;
&lt;span class="n"&gt;firmware&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;ASIX&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;AX88178&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;USB&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;2.0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Ethernet&lt;/span&gt;
&lt;span class="n"&gt;bus&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;info&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;usb&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;0000&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;00&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;lsusb output:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;Bus&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;005&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Device&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;004&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;ID&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;050&lt;/span&gt;&lt;span class="nl"&gt;d&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;5055&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Belkin&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Components&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;F5D5055&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Gigabit&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Network&lt;/span&gt;
&lt;span class="n"&gt;Adapter&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;AX88xxx&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;I did not test the actuall performance of this adapter, but it at least goes
beyond the 100 Mbit (it does 120 Mbit at least). I expect it to be limited at
say max 300 Mbit, being constrained by the maximum speed of  USB 2.0.&lt;/p&gt;</content><category term="Hardware"/><category term="Uncategorized"/></entry><entry><title>Debian Lenny and Dell R410 network card not supported</title><link href="https://louwrentius.com/debian-lenny-and-dell-r410-network-card-not-supported.html" rel="alternate"/><published>2010-08-20T19:53:00+02:00</published><updated>2010-08-20T19:53:00+02:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2010-08-20:/debian-lenny-and-dell-r410-network-card-not-supported.html</id><summary type="html">&lt;p&gt;For those who are running Debian Lenny and want to order the new Dell R410
server, beware!&lt;/p&gt;
&lt;p&gt;There is no safe solution to get Debian Lenny working with the on-board
Broadcom network cards. A fairly recent kernel is required. Basically, you
will have to install back-ported kernels, more recent modules …&lt;/p&gt;</summary><content type="html">&lt;p&gt;For those who are running Debian Lenny and want to order the new Dell R410
server, beware!&lt;/p&gt;
&lt;p&gt;There is no safe solution to get Debian Lenny working with the on-board
Broadcom network cards. A fairly recent kernel is required. Basically, you
will have to install back-ported kernels, more recent modules and thus must
violate the reasons why you were running Debian Lenny in the first place.&lt;/p&gt;
&lt;p&gt;There is one solution, although it may not be an option: run VMware on the
hardware and run Debian Lenny in a virtual machine. I think that in most
cases, this will be sufficient for many cases and it has all the benefits of
virtualisation and the stability of Debian Lenny.&lt;/p&gt;
&lt;p&gt;It is unfortunate that Broadcom or Dell do not support Debian.&lt;/p&gt;
&lt;p&gt;If you do have an easy and quite safe solution to get the Broadcom network
cards working with Debian Lenny, please drop a note.&lt;/p&gt;
&lt;p&gt;Beware though: the H200 and H700 RAID controllers are also &lt;a href="https://louwrentius.blogspot.com/2010/07/debian-lenny-and-new-"&gt;not supported by
Debian Lenny&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;dell-s300-h200-and.html&lt;/p&gt;</content><category term="Hardware"/><category term="Uncategorized"/></entry><entry><title>Blu Ray is dead</title><link href="https://louwrentius.com/blu-ray-is-dead.html" rel="alternate"/><published>2009-10-05T19:12:00+02:00</published><updated>2009-10-05T19:12:00+02:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2009-10-05:/blu-ray-is-dead.html</id><summary type="html">&lt;p&gt;HD-DVD may be dead, but Blu Ray is just as dead. The whole concept of optical
media is dead. Honestly, who is still burning CD's or DVD's nowadays? (If you
are, why for Christ sake? I can't think of a single good reason) And at 10
euros ($100) for a …&lt;/p&gt;</summary><content type="html">&lt;p&gt;HD-DVD may be dead, but Blu Ray is just as dead. The whole concept of optical
media is dead. Honestly, who is still burning CD's or DVD's nowadays? (If you
are, why for Christ sake? I can't think of a single good reason) And at 10
euros ($100) for a single Blu Ray disk, you must be totally bonkers to buy one
of them recorders.&lt;/p&gt;
&lt;p&gt;I mean, let's face it, CD's were really cool in an age where 650 MB was way
more than the 40 or 80 MB hard drive in your computer. It made a difference.
That was already less so with a DVD, with a capacity of 'only' 4 GB. However,
in the early years of the DVD, you could backup your entire hard drive on two,
maybe three disks, since a hard drive averaged around 4 to 10 GB at that time.&lt;/p&gt;
&lt;p&gt;Then finally came Blu Ray and HD-DVD. A whopping 25 GB on a disk. No shit!.
You mean, like I need no less than 40 Blu Ray disks (400 euros) and an eon of
burning disks to backup one of my 1 TB hard drives that cost me like 70 euros?&lt;/p&gt;
&lt;p&gt;What must they have been thinking when they developed Blu Ray? As a backup
medium it is useless, but it was ofcourse intended as a carrier for movies, I
know. But why should I go outside, through the cold and the rain to go to some
shitty video store that only has last years block busters? Why bother with 40
Mbit downstream and the Internet at your disposal? Downloading a movie will
take me as much time as going to the video store and selecting something so
dreadful even the DVD player will refuse to play it. What else is there to
choose from. The Internet provides us with the most rare and obscure but most
beautifull movies you ever saw. And the more main stream movies can be
obtained in full HD 1080p.&lt;/p&gt;
&lt;p&gt;Current Internet connections are of such quality, that physical media such as
Blu Ray disk are becomming irrelevant. A normal DVD is downloaded within 20
minutes at 4 MB/s. And when Internet connections will reach 100 Mbit or 12
MB/s, even a HD 1080p movie will be downloaded within the hour.&lt;/p&gt;
&lt;p&gt;Storage is not a problem. If you can store 40 HD movies on a single 1 TB disk,
then you will pay 1,5 euros for each movie. Beats any Blu Ray disk in price
and time. If you even care about them that much, buy or build a NAS and store
them on some redundant storage.&lt;/p&gt;
&lt;p&gt;In time people will do with DVDs and CDs what most people already do with CDs:
rip them to some format your computer understands (to transfer it to your MP3
player) and get rid of that CD that will become scratched and useless even if
you don't touch it. No, you don't want to transcode your HD movies to some
iPod or something, but you may want to stream it to your media player in the
living room? A jukebox full of films, just as you have a jukebox full of
music.&lt;/p&gt;
&lt;p&gt;Give the CD, DVD and Blu Ray a little push, and let them fall into the grave.
It is an outdated technology for a problem that existed 10 years ago. The
Internet has made it irrelevant. Be done with it.&lt;/p&gt;</content><category term="Hardware"/><category term="blu"/><category term="ray"/><category term="dead"/></entry><entry><title>Got myself a Norco RPC-4020</title><link href="https://louwrentius.com/got-myself-a-norco-rpc-4020.html" rel="alternate"/><published>2009-06-16T19:47:00+02:00</published><updated>2009-06-16T19:47:00+02:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2009-06-16:/got-myself-a-norco-rpc-4020.html</id><summary type="html">&lt;p&gt;I've got this fetish for storage. So I bought a case that gives me some room
for future expantion. The current 6 TB RAID 6 storage server does not have any
room for expantion.&lt;/p&gt;
&lt;p&gt;This Norco RPC-4020 case with 20 hot swap drive bays does however. Don't know
what to …&lt;/p&gt;</summary><content type="html">&lt;p&gt;I've got this fetish for storage. So I bought a case that gives me some room
for future expantion. The current 6 TB RAID 6 storage server does not have any
room for expantion.&lt;/p&gt;
&lt;p&gt;This Norco RPC-4020 case with 20 hot swap drive bays does however. Don't know
what to fill it with yet.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://members.multiweb.nl/nan1/img/norco4020.jpg"&gt;&lt;img alt="image" src="http://members.multiweb.nl/nan1/img/norco4020.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;</content><category term="Hardware"/><category term="Uncategorized"/></entry><entry><title>FFmpeg performance on a Core i7 920 @ 3.6 Ghz</title><link href="https://louwrentius.com/ffmpeg-performance-on-a-core-i7-920-36-ghz.html" rel="alternate"/><published>2009-04-22T23:10:00+02:00</published><updated>2009-04-22T23:10:00+02:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2009-04-22:/ffmpeg-performance-on-a-core-i7-920-36-ghz.html</id><summary type="html">&lt;p&gt;The system i'm running is a Core i7 920 @ 3.6 Ghz.&lt;/p&gt;
&lt;p&gt;I am transcoding a DVD (Grave Of The Fire Flies) to iPod format (640x480
x264).&lt;/p&gt;
&lt;p&gt;Thread support is enabled, to FFmpeg uses about 250% CPU. That's 2.5 of the 4
cores available. If possible, I would have …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The system i'm running is a Core i7 920 @ 3.6 Ghz.&lt;/p&gt;
&lt;p&gt;I am transcoding a DVD (Grave Of The Fire Flies) to iPod format (640x480
x264).&lt;/p&gt;
&lt;p&gt;Thread support is enabled, to FFmpeg uses about 250% CPU. That's 2.5 of the 4
cores available. If possible, I would have liked to see it use all four to the
max.&lt;/p&gt;
&lt;p&gt;Any way. I use these settings:&lt;/p&gt;
&lt;p&gt;FFmpeg version SVN-r18628&lt;/p&gt;
&lt;p&gt;ffmpeg -i $1 -pass 1 -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -vpre
normal -vpre ipod640 -s 640x480 -b 512k -bt 512k -threads 0 -f mp4 $2&lt;/p&gt;
&lt;p&gt;With these settings, I get an encoding speed of fps=193.&lt;/p&gt;
&lt;p&gt;I don't know how that stacks up against other systems. It seems fast to me
though. In effect, the system is playing the DVD at 7.6 times the speed of the
movie (25 fps?). So encoding is 88 minutes / 7.6 = 11.45 minutes for encoding
a DVD to iPod x264.&lt;/p&gt;</content><category term="Hardware"/><category term="Uncategorized"/></entry><entry><title>Core i7 920 @ 3,6 Ghz is a true beast!</title><link href="https://louwrentius.com/core-i7-920-36-ghz-is-a-true-beast.html" rel="alternate"/><published>2009-03-04T21:19:00+01:00</published><updated>2009-03-04T21:19:00+01:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2009-03-04:/core-i7-920-36-ghz-is-a-true-beast.html</id><summary type="html">&lt;p&gt;Even today, Core 2 Duo processors clocked at 2 ghz are no slugs. However, the
Core i7 920 is of a different kind. First, it is not only clocked at a higher
speed (default 2,8 Ghz), it is also a quad-core processor. Thanks to the re-
introduction of hyperthreading …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Even today, Core 2 Duo processors clocked at 2 ghz are no slugs. However, the
Core i7 920 is of a different kind. First, it is not only clocked at a higher
speed (default 2,8 Ghz), it is also a quad-core processor. Thanks to the re-
introduction of hyperthreading, this processor can handle 8 parallel proceses
simultaneously.&lt;/p&gt;
&lt;p&gt;Just how fast a Core i7 can be, especially if overclocked to 3,6 Ghz shows
this diagram:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://chart.apis.google.com/chart?cht=p3&amp;amp;chd=t:66,11,11,12&amp;amp;chs=350x150&amp;amp;chl=Core%207i%20|AMD|iMac|Mac%20Mini&amp;amp;noncense=test.png"&gt;&lt;img alt="chart" src="http://chart.apis.google.com/chart?cht=p3&amp;amp;chd=t:66,11,11,12&amp;amp;chs=350x150&amp;amp;chl=Core%207i%20|AMD|iMac|Mac%20Mini&amp;amp;noncense=test.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Using my still in development version of PPSS, four systems processed 400 GB
of WAV files and converted them to MP3. This simple pie-chart shows that the
Core i7 on it's own, using 8 parallel processes, managed to process 2/3 of the
files. The Core i7 was way faster than the other 3 systems combined! This is
marvelous, I think. And it seems all due to Hyperthreading. If an additional
duo core system would have been added, the other systems combined would have
also 8 parallel threads available and would have processed roughly 50% of the
items. However, please note that the Core i7 is a quad core processor and has
'only' four physical cores...&lt;/p&gt;</content><category term="Hardware"/><category term="Uncategorized"/></entry><entry><title>Benefits of hyper-threading on a Core 7i processor</title><link href="https://louwrentius.com/benefits-of-hyper-threading-on-a-core-7i-processor.html" rel="alternate"/><published>2008-12-28T00:26:00+01:00</published><updated>2008-12-28T00:26:00+01:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2008-12-28:/benefits-of-hyper-threading-on-a-core-7i-processor.html</id><summary type="html">&lt;p&gt;I had some wave files that I wanted to encode to mp3. I wrote a small parallel
processing framework for this job. It executes parallel jobs so I can benefit
from the 4 cores + 4 virtual cores of my new Core 7i 920 processor. &lt;/p&gt;
&lt;p&gt;The framework is based on some …&lt;/p&gt;</summary><content type="html">&lt;p&gt;I had some wave files that I wanted to encode to mp3. I wrote a small parallel
processing framework for this job. It executes parallel jobs so I can benefit
from the 4 cores + 4 virtual cores of my new Core 7i 920 processor. &lt;/p&gt;
&lt;p&gt;The framework is based on some shell scripts running on 
Linux (or probably any other unix) and Lame.&lt;/p&gt;
&lt;p&gt;I wanted to test how much impact hyperthreading has on parallel performance.
Hyperthreading has a bit of a bad reputation, dating back from the P4 erra.
Lots of 'hype' but no significant performance gain. &lt;/p&gt;
&lt;p&gt;I ran some test with hyperthreading enabled and disabled (within the bios). &lt;/p&gt;
&lt;p&gt;In this test I used 16 wav files and encoded them to mp3 with Lame under
Linux. The data in the table are raw measurements.&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" src="/static/images/ht1.png" /&gt;&lt;/p&gt;
&lt;p&gt;As you can see, the benefit of HT is there and can improve processing speed
with up to 24 percent. &lt;/p&gt;
&lt;p&gt;As more threads are run simultaneously, processing speed is significantly
improved comparted to non-HT. &lt;/p&gt;</content><category term="Hardware"/><category term="hyper-threading hyperthreading"/></entry><entry><title>Highpoint RocketRAID 2320 on Debian howto</title><link href="https://louwrentius.com/highpoint-rocketraid-2320-on-debian-howto.html" rel="alternate"/><published>2008-09-28T08:06:00+02:00</published><updated>2008-09-28T08:06:00+02:00</updated><author><name>Louwrentius</name></author><id>tag:louwrentius.com,2008-09-28:/highpoint-rocketraid-2320-on-debian-howto.html</id><summary type="html">&lt;p&gt;Get the 'open source' driver from www.highpoint-tech.com. (It's not open
source, it uses a closed binary driver.)&lt;/p&gt;
&lt;p&gt;http://www.highpoint-tech.com/USA/bios_rr2320.htm&lt;/p&gt;
&lt;p&gt;Install the kernel headers if you haven't already&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;apt&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;install&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;linux&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;2.6&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;18&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;k7&lt;/span&gt;

&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;extract&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;downloaded&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;driver&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;with&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;tar …&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</summary><content type="html">&lt;p&gt;Get the 'open source' driver from www.highpoint-tech.com. (It's not open
source, it uses a closed binary driver.)&lt;/p&gt;
&lt;p&gt;http://www.highpoint-tech.com/USA/bios_rr2320.htm&lt;/p&gt;
&lt;p&gt;Install the kernel headers if you haven't already&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;apt&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;install&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;linux&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;2.6&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;18&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;k7&lt;/span&gt;

&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;extract&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;downloaded&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;driver&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;with&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;tar&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;xzf&lt;/span&gt;

&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;product&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;rr232x&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;linux&lt;/span&gt;

&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;type&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;make&amp;#39;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;As of 28 september 2008, this gives no errors.&lt;/p&gt;
&lt;p&gt;However, a 'make install' will fail. This is cause by the fact that the
installation script uses mkinitrd, which is obsolete: the mkinitramfs command
should be used. So we have to edit a script.&lt;/p&gt;
&lt;p&gt;**Update Dec 2009: the latest drivers do not need the following steps anymore.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;vi&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;osm&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;linux&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;install&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sh&lt;/span&gt;

&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;replace&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;all&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;occurrences&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;of&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;mkinitrd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;with&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;mkinitramfs&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;press&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;and&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;type&lt;/span&gt;
&lt;span class="nf"&gt;%s&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mkinitrd&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mkinitramfs&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;and&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;then&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;wq&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Continue here:&lt;/strong&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;Go&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;back&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;to&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;product&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;rr232x&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;linux&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;directory&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;and&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;type&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;&amp;#39;&lt;/span&gt;&lt;span class="nx"&gt;make&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;install&lt;/span&gt;&lt;span class="err"&gt;&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;That's it.&lt;/p&gt;</content><category term="Hardware"/><category term="Uncategorized"/></entry></feed>