Showing posts with label hardware. Show all posts
Showing posts with label hardware. Show all posts

2021-05-24

2020 in review

The beginning of 2021 was very difficult for me and my family. In January I unfortunately lost my father because of COVID-19. This deeply wounded me, but at the same time it was a special and unforgettable moment for us, because my second daughter was born just a few days later, four days to be exact. All of this diverted my focus from IT for a while. Despite that, few months later, I would like to keep tradition to write a yearly review, even if it is late. In 2020 I had some projects like new NAS setup and 10Gbit network hardware. In addition, I also bought ICOP VEX2-6427-5C4NE board which was one of the first DM&P Vortex EX2 SoC based solutions in the market.

ICOP VEX2-6427-5C4NE

VEX2-6427 was one of the first publicly announced boards based on the DM&P Vortex86 EX2 SoC, which intrigued me a bit due to its unusual main/secondary two-core design. In addition to that, I was expecting that it may help me to resolve R6040 Ethernet issue on BSD systems for my other VortexDX3 system. Finally, I was hoping to use it as small firewall system. Unfortunately, it was not meant to be. There were several reasons for that:

  • the BIOS is based on SeaBIOS without ACPI support. Initial firmware didn't have any user interface. Though ICOP support provided me a BIOS update with UI configuration, I needed to buy miniPCIe graphics card in order to update and utilize it (I bought IEI IGCME-1300-R10, since it was much cheaper than DM&P VortexVGA solution, mainly due to shipping costs. Also Aspeed AST1300 is theoretically supported by NetBSD, though I haven't tested that yet Update: no, AST1300 does not seem to have DRM support in NetBSD).
  • The secondary CPU core is not accessible in this board, thus defeating the purpose of the unique SoC design.
  • Due to limited CPU performance, PCIe bandwidth is also limited. My original plan was to use 1 Gbit Ethernet on mini-PCIe card, but it failed to meet my performance expectations (usually transfer speed was way below 200MBit/s with Intel or Realtek controller). Similarly mini-PCIe SATA card was also under-performing compared to modern PCs (if I remember correctly, SSD was reaching up to 50MB/s reading performance, way below its capabilities on the modern platforms).
  • Due to different R6040 PHY model and lack of ACPI support, I couldn't utilize it much to investigate DX3 SoC issue. On the other hand, it worked well on NetBSD without any modification. I submitted a patch to recognize new PHY model but even general PHY driver worked as well.
  • NetBSD required manually to fix COM IRQs in the kernel configuration to boot into the system because of IRQ conflicts. Initially between USB and serial port, but later with some miniPCIe cards too. Only with the updated firmware, I was finally able to reassign IRQs to my own needs. Nevertheless, to utilize all COM ports, manual kernel is still needed (similarly, Linux also requires some bootloader configuration changes to properly support all serial ports, if needed). 

I also stumbled into stability issues, however it appeared to be caused by my own mistake. Apparently, PC sets serial port TX signal to 0V during PC boot and it triggers the peer to go to the debugger. In order to resolve that, hw.cnmagic=+++++ needs to be added to /etc/sysctl.conf as a workaround (cnmagic(9)). The signal does not trigger debugger in this case. Because of all these reasons, grand plan for the system ended up unfulfilled. Nevertheless, I am still planning to use it as a serial terminal between different systems and possibly as local pkgsrc packages storage to keep it busy.

During this time I submitted patches to identify new CPU ID and new devices, thus NetBSD should be more verbose about those and attach rdcpcib (PCI-ISA bridge) driver with more DM&P SoC models.

Despite the board failing to meet my expectations, I was pleasantly surprised with ICOP support. It was very prompt, professional and helpful. Would I need to do some professional embedded hardware business, I would be really happy to deal with this company.

ICOP VEX2-6427-5C4NE
Assembled VEX2-6427 board with SanDisk X110 SSD and Delock miniPCe Ethernet

Mikrotik 10 Gbit router

Last year I was slowly moving to 10 Gbit internal network, connecting my NAS, router and main PC, as well as some other devices from time to time. For that purpose I bought a Mikrotik CRS309-1G-8S+ switch. It has 8 SFP+ ports and one 1Gbit port, as well as one serial port. The size is pretty compact, it uses passive cooling with external radiator connected to CPU using heat pipes. The switch is based on dual-core Marvell 98DX8208 800MHz ARMv7 CPU. The device is relatively cheap, but the price has some trade offs: though it is packed with quite a bunch of features, CPU is not very powerful do handle something more than simple configuration. Thus, I also didn't spend much on setting it up beyond bonding interface for my NAS server. Of course, I followed the security advice from their own page to have at least basic protection for the switch itself, but I guess that's it. Also, I've read somewhere that it is not recommended to use RJ45 modules, since they tend to emit lots of heat and may cause SFP+ cage to overheat. It is a bit of a disadvantage with the increasing RJ45 10GBit solutions (myself I am using DAC and fiber cables only) but likely can be partially overcome by custom cooling solutions. The major issue was initial connection to the switch, since even 1Gbit port wasn't configured as DHCP client, making it really challenging to reach from the internal router network. Hopefully, I could access it using serial port, but it took me a while to understand how to configure 1Gbit port to get IP address from my router. Afterwards, it was pretty easy to setup, including enabling web interface. Network aggregation configuration wasn't very intuitive as well, but trial/error approach worked eventually. I good part that Mikrotik RouterOS is updated pretty frequently. There is a choice between stable/testing/development and event long term releases. Thus, updates are the only reason I am connecting to this device.

CRS309-1G-8S+IN
MikroTik CRS309-1G-8S+IN

Asus XG-C100F

Asus XG-C100F became my third 10GBit SFP+ network adapter. Previously acquired Edimax EN-9320SFP+ and Dell QLogic 57810S are not supported by NetBSD, because of this I couldn't use them in my desktop system. Only Dell card is supported by FreeBSD but the driver is huge and I gave up on trying to port it pretty soon and repurposed it to Linux based NAS system later. Tehuti 4010 based Edimax is not supported by any of BSDs, though PRs for FreeBSD were submitted by the company. I believe it would have been easier to port, would it be accepted, but time constraint forced me to choose easier path with Aquantia based controller. On the time of purchase, the driver was just recently introduced into current branch, eventually it was back-ported to netbsd-9 branch with 9.1 release. On arrival, the card wasn't supported out of the box, since adapter's specific AQC100 MAC controller wasn't yet included in the driver list. Adding device ID made it to be recognized by the driver, but every reboot required to reattach the cable to make it work, which obviously was quite inconvenient. Fortunately, the solution was found quickly by Ryo Shimizu. Thanks to him, adapter is working without any issues now, except that I need to work on some configuration to optimize performance. It is not on par with Linux, especially on uploading which seems to be capsized to 1Gbit for some reason. It is a future project which I will try to base on NetBSD documentation and/or help in the mailing lists and IRC. During that time Linux driver also had a small bug, which was reporting TP (twisted pair) as supported port instead of FIBRE. I submitted a bug, it was fixed pretty soon after (however, it was likely discovered independently from my bug report). Besides that, adapter works well both in NetBSD and Linux, but the latter shows much better performance by default. I am not sure about the current state of OpenBSD and FreeBSD support, it was lacking from default kernel in both the last time I checked. FreeBSD likely has a vendor provided driver, OpenBSD one is in development I believe. 

Asus XG-C100F
Asus XG-C100F

NAS project

Following upgrade to 10Gbit network and increasing issues with the Marvel based SATA controller on ADPE4S-PB daughterboard, I eventually decided to upgrade my NAS computer from Jetway JNF76 to much more modern Biostar FX9830M motherboard. I described the process pretty well in my blog towards the end of 2020, thus I won't be repeating them here. However, there are few negative notes which came up over the time. I had at least one overheating issue, once I tried to execute long running software building process. Also, I can't call the system very silent, maybe due to pretty confined environment it is currently placed, but it has a constant background noise. It's not annoying but it is consistently audible. Finally, my active hard drive (non backup one), which is placed at the bottom of the case, seems to operate on quite high temperatures. Because of that, I may need to work on better cooling soon, especially since summer is just around the corner. I believe, even putting the computer on some elevated support may help with that. Other than that, it serves me well, as the system itself is stable and solid. Hopefully, I will manage to improve cooling and noise issues over time to avoid potential hard drive failures.

Biostar FX9830M
Biostar FX9830M

Smaller purchases and projects

Most smaller purchases last year were related to failed ICOP project, thus some hardware is unused now. As mentioned previously, IGCME-1300-R10 miniPCIe graphics card was used only to update BIOS and readjusting its settings. For testing purposes I successfully booted MX Linux distribution with it. I also bought two miniPCIe Ethernet cards. One is Realtek 8111F based Delock 2x1Gbit low profile card and one more unbranded Intel i350 based card. Delock has a disadvantage in taller pin type connections, while Intel based one has flat cable between miniPCIe card and backplane card with Ethernet connectors. On another hand, Delock cables are more flexible compared to thick Intel one. Unfortunately, I can't comment much on their performance, since both were performing similarly because of limited board's PCIe bandwidth. If I would have connected ICOP support before buying second card, I wouldn't have bought it. Initially I believed that poor performance is a Realtek controller issue, but it wasn't the case.

IEI IGCME-1300-R10

I also bought a miniPCIe 2xSATA controller (ASmedia ASM1061 based) and SanDISK X110 32GB SSD as a main storage, since SD cards were seemingly limited to very poor I/O performance. I used 2xUSB to SATA 15 pin power cable to power up the SATA SSD itself. This solution worked pretty well but, similar to Ethernet card read/write performance was quite limited. Nevertheless, it still was a tangible improvement over SD cards. I was pleasantly surprised that VEX2-6427 board supported direct booting from this SATA controller, thus SD card was not needed after upgrade.

I also had a chance to buy 8xKMM53616000AK-6 FPM parity SIMM memory modules with the hope to revive Microway PC164 Screamer Alpha board. However, it appeared to be either board or CPU issue. Memory was recognized but nevertheless board was spitting lots of errors on boot. Due to time constraints I abandoned attempts to revive the system for now.

One more small project was triggered by the death of my old FORTRON EPSILON 600W PSU last year. Luckily, I had one more PSU available in my stockpile (non modular), previously used in AMD Opteron 3280 based system, thus I decided to switch to it instead of buying a new one. Unfortunately, its cables were not designed for bottom placement, and most of them were too short to reach their designated connectors on the motherboard. Conveniently, all required extensions were available for purchase in local stores. For 24-pin power and 6-pin GPU cable extensions I bought SilverStone PP07-MBR and PP07-IDE6R red cables. These are extremely nice with individually sleeved wires for protection. For 8-pin power extension cable I acquired simpler Delock 83342 extention cable. Besides solving the short cables issue it also helped me organize them better, since I could utilize case design by wiring them through the right part of the case.

Finally, by the end of the year I bought the Clockwork DevTerm A04 Kit. It will be my first ARM based computer, but its current proposed shipment date is on early June, which is a slight delay since initially it was supposedly to be shipped by the end of March 2021. Hopefully, no more delays will occur but with this current shortage of microelectronics everything is possible. Nevertheless, I feel excited about it and I hope it will become a very useful device.

NetBSD endeavors

Besides mentioned patches for DM&P SoC and related RDC devices, last year wasn't very fruitful for me. R6040 PHY issue on VortexDX3 didn't move forward and I don't expect to work on it this year as well. I have reported some typos, submitted a patch to properly identify VIA PHY with MIIVERBOSE option, fixed small dmesg issue for viadrmums driver (actually reported last year and fixed this year), submitted a bug report on auvia(4) audio device driver, which also was affecting some other audio devices, also had some discussions leading to one bugfix for VIA PadLock engine, updated CodeLite package in pkgsrc to 14 version (and this year to 15). Over the year I attempted to work on porting bxe(4) driver from FreeBSD, but abandoned it, since driver is way too big and my skills on such work are too limited. I've also started some work on improving unfinished unichromefb driver with hopes to progress more this year (but no promises). This year I don't expect to do much as well but the usual bug reporting, small fixes and typos, pkgsrc package updates/fixes are expected. Just recently I updated to NetBSD 9.2 release!

Besides NetBSD I also contributed to Kwort 4.3.5 release which I use irregularly on one of my testing machines. Mainly it contributed to installation process improvements. It is really nice and very minimal CRUX Linux based distribution. Give it a try! I also reviewed previous 4.3.4 version last year.

Summary and 2021

The highlight of 2020 was local network upgrade to 10GBit leading to various new hardware and upgraded NAS system. Interesting and unusual DM&P VortexEX2 based system mainly ended up as a playground last year with some expectations to utilize it more this year. Finally I made a first step to ARMv8 world with Clockwork DevTerm device, which will hopefully arrive pretty soon. In 2021 I already had quite a few purchases. I upgraded my main CPU from Zen to Zen 2. I also updated my mom's computer to ASRock DeskMini X300 with Athlon 200GE CPU. I gave my wife a Pocketbook InkPad Color 7.8'' e-reader as a birthday gift. Finally, I bought multifunction HP LaserJet Pro MFP M183fw printer. All of these devices a worth to be mentioned in the next year's review, but may also have dedicated articles if time permits.
ASRock DeskMini X300
ASRock DeskMini X300 and AMD Athlon 200GE
 
In meantime I wish you all to stay safe and healthy during this difficult period.

2021-03-20

Upgrade to Ryzen 5 3600

Back in 2018 I was forced to upgrade my computer since Opteron 3280 based system unexpectedly died and even older Sandy Bridge-EP based platform was quite unstable, especially with modern graphics cards, likely because of ES nature of the CPU (later I received different QA89 s-spec CPU which also exhibited the same issue, thus it may be common to the same stepping engineering samples). At that time, I went with the AMD Ryzen 5 1600 6-core CPU, which I have used for the following 3 years. Though unplanned, upgrade by itself was really successful and I was very satisfied with the performance and stability of the system. Next year I downgraded my GPU to Radeon R7 370 for better NetBSD compatibility, and to this day it defined my main computer setup. However, this week I decided to finally upgrade my CPU. Since I have X370 chipset based motherboard, I can't use the latest Ryzen 5000 series (Zen 3) CPUs but the prices for Zen 2 ones went to acceptable levels. I decided to stay with 65W TDP package, because of that only three suitable options were available: Ryzen 5 3600, Ryzen 7 3700X and Ryzen 9 PRO 3900. The latter one is OEM model, thus not available for purchase in retail stores. I didn't find one in amazon or ebay as well. The second option looked very tempting, since it has 8 cores instead of 6 and slighter higher turbo frequency, but in the end I decided to buy direct counterpart of my current CPU - Ryzen 5 3600. It is still 6-core CPU but it has higher clocks and Zen 2 improvements over original Zen architecture, delivering around 30% performance improvement according to benchmarks. This decision was mainly driven by the price, 3700X CPU costs over 100 euros more in my location which sounded a bit too much for 2 additional cores. However, I would not rule out the possibility to opt one of these CPUs some time later depending on availability and price.

CPU upgrade went pretty smoothly. Probably the main challenge was posed by my CPU cooler which requires complete motherboard removal to replace the CPU. Nevertheless, it was a good exercise, since I cleaned big amount of dust inside the case. The first boot took longer than usual and UEFI BIOS settings were reset, but it was smooth experience soon after the reconfiguration. Both Linux and NetBSD works snappier after upgrade. It is visible to the naked eye in WEB browsing and windows animations. However, I performed one "test" by rebuilding NetBSD userland, the building time reduced by 35% to 26 minutes. Actually building it with X.org sources took few minutes less than without them previously. So, the improvement is consistent with the benchmarks which can be found in the internet and comes in handy for me (I also use pkgsrc). The temperatures usually stayed a bit below 70 °C under full load (I am using silent mode for fans) and around 40 °C or less on idle. Overall, I am satisfied with the update and I believe the CPU is worth it's current price (I paid around 170 euros without fan). 

 

Ryzen 5 3600
AMD Ryzen 5 3600

However, if the one wants to save more money, there are also Ryzen 5 3500X and Ryzen 5 3500 models available. The main difference between them and Ryzen 5 3600 is the lack of SMT support (so no 12 threads), also 100 Mhz less turbo frequency. But in general they performance is very similar to 3600 model and can be a good trade off in many scenarios. The difference between 3500 and 3500X is only in L3 cache, the former has 16MB, and the letter has 32MB. The price difference between 3500 (without X) and 3600 can reach around 40 euros and around 20 euros for X variant.

After CPU upgrade I believe I won't have much more improvements before next complete computer replacement. I don't have any timeframe for that, it may likely happen after two or three years. However, I am considering to change my SATA SSD to NVMe one as the last major improvement sometime this year.

2020-05-06

Beware of ahci module change from dynamic to built-in on Artix (Arch) Linux


Recently, after one of the usual system updates, I suddenly ended up with an unbootable system on my Artix based NAS server. Since the system's boot process is not the most stable in general, initially, I thought it was yet another "moody" day for the system caused by the Marvell controller on ADPE4S-PB daughterboard. However, the boot is usually successful in several attempts in this case. If not, rarely this was caused by failed initramfs generation during the update process. In such situations, I was regenerating it by booting into Artix (or previously Arch) installation system and chrooting into the main system (or using fallback initramfs boot option). This procedure requires reconnecting the system drive to VIA based controller. Nevertheless, nothing was helping to bring it back to life. I started to suspect that I was dealing with the new issue this time. Initial speculation was geared to failing old hardware, but in the end it appeared to be a software based issue. Since then, I successfully booted into the system using the VIA integrated controller, it was getting obvious that modules configuration was not being applied for some reason. I confirmed that by looking at the lspci output which didn't show the AHCI driver being applied for the Marvell controller.


A little investigation revealed that the new kernel has ahci.ko.xz and libahci.ko.xz module files missing in /usr/lib/modules//kernel/drives/ata directory. They were present there before the upgrade. Since I depend on the AHCI driver specific property, the reason of the failure was pretty clear. Despite that, I didn't know yet why those modules had been missing. Regardless, I was looking for the fastest way to restore my system first. The first solution I came up with is to revert to the previous kernel. It appeared to be possible due to the fact that pacman package manager is keeping older packages in pacman cache. Using command "pacman -U /var/cache/pacman/pkg/linux-5.5.10.artix1-1-x86_64.pkg.tar.xz" downgraded kernel and, fortunately, the system was bootable again.

The downgrade solution was supposed to be temporary, since I can't ignore upgrades forever. Initially, I assumed that the missing modules were a mistake so I filed a bug report. However, it was soon closed with explanation that ahci modules are built-in in the kernel and it's not a bug. I believe this change happened starting 5.6 kernel series since 5.5 based kernels were still working for me. Because of this, I made an attempt to apply corresponding configuration of dynamic modules on kernel. Thankfully to the good Arch Linux online documentation, it was easy to find required information. This page describes how to pass module parameters to the kernel and this one describes the GRUB bootloader configuration. To pass module parameter "module.param_name=param_value" needs to be passed to the kernel line. Blacklisting is performed by passing "module_blacklist=module_name" parameter. In my specific case, I needed to pass marvell_enable=1 property value to ahci driver and blacklist pata_marvell module. So, these steps needed to be performed in my case:
  • sudo vi /etc/default/grub
    • change GRUB_CMDLINE_LINUX line to:
    • GRUB_CMDLINE_LINUX="ahci.marvell_enable=1 module_blacklist=pata_marvell"
  • regenerate grub.cfg by running sudo grub-mkconfig -o /boot/grub/grub.cfg
It should be safe to keep both: grub configuration and previous configuration for dynamic modules. They should not interfere with each other and would be ignored depending on using either built-in or dynamic module.

Unfortunately, this solution didn't work as well as expected. Though I was able to boot into the system, the success ratio decreased to an unbearable level. Only 1 out of 5 to 7 attempts were partially successful. By that, I mean the system booted and I could interact with it, however, none of the attempts initialized all the hard drives correctly. It was either system one or one of other two hard drives in LVM RAID failing. Thus, RAID volume wasn't mounted at best, or system was failing to boot at worst. Quite often, the system disk was still not recognized early in the boot process leading to rescue shell. Because of that, I was forced to revert to the old kernel again.

Considering that I didn't manage to fix the issue, I am not sure if there is a workable and stable solution at this point. Manually built kernel with modularized ahci module may help, but it would mean that I would need to track kernel upgrades myself. Moreover, building Linux kernel is not a very trivial process as I wish it should be, so it is not a viable option for me. As a temporary solution I can completely disable Linux kernel upgrades and keep the other software up-to-date. However, as a long term solution, it may force me to look for another distribution which still uses AHCI as module or even to consider a complete hardware update. Only time will tell which one will be easier to implement.

In conclusion, if Arch Linux based system is used along with Marvell 88SE6145 SATA controller (or any other marvell controller which requires ahci module specific configuration), I currently advice to refrain from upgrading to 5.6.x kernel. One can try to experiment with kernel parameters as described above, however, it is advisable to make a backup image of the system beforehand, so it can be easily restored. The downgrade path may not always be successful because of other dependencies and should not be relied on.

2020-02-29

2019 in review


Starting last year I resumed writing yearly review after a long break. Since 2019 was no less active in various personal computer related projects, I believe it may start a tradition of such retrospective reviews for the years to come. So without further ado, I will move on the last year's activities.

Downgrade from Radeon RX 460 to Radeon R7 370

For almost two years, I used the AMD Radeon RX 460 GPU based Asus Dual RX460 OC edition graphics card. However, since 2019, I started using NetBSD much more regularly alongside with Manjaro Linux (which is still my primary OS) and, unfortunately, Radeon RX 460 GPU is unsupported by the former. Because of that, I decided to downgrade to an older generation hardware, so I can be comfortable in using them. After a broad research, I opted for the GIGABYTE GV-R737WF2OC-2GD which is a Radeon R7 370 based card. R7 370 uses Pitcairn Pro GPU core based on the 1st GCN architecture. The main motivation behind choosing this specific model was its similar performance to RX 460, its reasonable price and its availability in stock at local stores.

Despite some fears, the card didn't disappoint. NetBSD immediately recognized the GPU and applied proper drivers giving the expected hardware acceleration. Because of this, I started using NetBSD on my desktop quite regularly. To my surprise, it visually felt more responsive than RX 460 on Linux as well. Despite being an older model, its performance is actually at par with the replaced card in general usage, except possibly increased power usage.

Dell QLogic 57810 10G Ethernet card

Since my router supports one SFP+ 10Gbit Ethernet port, I was curious to try it out and bought the Edimax EN-9320SFP+ 10Gbit network card back in 2018. Though, being the cheapest 10Gbit solution at that time with the smallest card around, it had few annoying flaws. The card was based on Tehuti TN4010 NIC, which is poorly supported by the alternative operating systems except Windows. Any of the BSDs don't have a driver at all. Linux has one, but not in the mainline kernel. Thus, the Linux driver needs to be compiled and installed manually, and the process needs to be repeated almost after every kernel update (which happens relatively often). In the end, the Linux driver still had at least one issue - if computer goes to standby mode, NIC stops working after resume with only reboot bringing it back. Nevertheless, I was not planning to replace it, since alternatives were too expensive (especially Intel based solutions). Btw, Edimax also have never updated the driver in their page, I was using the one from github.

Unexpectedly though, one local shop offered Dell QLogic 57810 (Dell part 540-BBGS) dual port 10Gbit network card for a sizable discount. I checked that it was supported by at least FreeBSD, the Linux kernel had mainline kernel driver as well, so I took the bait and bought it. The card itself is much bigger than Edimax, having an active cooler and requires PCI-E 2.0 x8 slot instead of PCI-E 2.0 x4. On the other hand, it is a way more professional product having sophisticated firmware and two SFP+ ports. Once installed, it worked out of the box in Windows, Linux and FreeBSD, with no manual work required. Contrary to Tehuti NIC, it had no issues on resume in Linux as well. In general, I believe this purchase was pretty successful, except the fact that it is not supported by NetBSD.

I dream to port the FreeBSD driver to NetBSD, however, it may be too complicated task, since the driver is huge. Nevertheless, I am planning to make an attempt this year (sometime in 2020) and see what happens.
Dell QLogic 57810 dual SFP+ Ethernet controller

Toshiba MG04ACA600E and D-Link DGE-528T

Yet another hardware update was already extensively described in my blog. Though, the main goal was just to upgrade from 3TB hard drives to 6TB ones in my NAS server, it ended up with the bigger project from migration to Artix Linux to LVM RAID configuration on recycled 3TB drives.

The new hard drives were two identical Toshiba MG04ACA600E model drives which showed quite visible performance improvement in read operations but write speed seemingly was restricted by driver issues and showed only minimal improvement compared to older drives. Thanks to LVM RAID0 setup I also reused older 3TB drives as additional back-up storage.

Realtek RTL8169SC based D-Link DGE-528T network card was used to circumvent loss of the second Ethernet port. Together with integrated Realtek 8111C NIC it showed worse network speed over Intel based daughterboard card, but it was expected and acceptable downgrade.

Toshiba MG04ACA600E

Sanwa MA-TB41S trackball

For around ten years I was successfully using Kensington Optical Orbit trackball. It was bought in Sweden by my former colleague and friend. Initially I thought that it will stay only as an experiment, but proved to be one of the best devices I've ever used. Unfortunately, the right button started to fail so badly by the end of the last year, that I was finally forced to look for the possible alternative. Despite pretty limited trackball options, I must admit it was one of most challenging decisions on hardware selection process. The main reason for that was the lack of possibility to try them physically. I believe, there is a great risk of to buy uncomfortable trackball from the images only. It doesn't matter how much reviews you will read, there are too many factors which can affect the comfort, from your hand size to device quality and sensitivity. That is probably the reason why you can find so many contradicting opinions on the same product.

Theoretically I could even buy the same model, since Kensington is still selling it together with few other long-living models, but I wanted to find one with the scroll wheel. After long research I narrowed down the options to these three models:
Though, Sanwa trackball was my last choice, I ended up buying it because of difficulty to find Elecom model in Europe, and relatively bad reviews regarding the quality of Kensington trackball buttons. Unfortunately, I can't tell yet if I made a right choice... During, the first month I was really disappointed. The trackball appeared to be a bit too big for my hand, making it difficult to reach buttons comfortably. Quite often I was accidentally moving the ball before clicking mouse buttons, thus easily missing intended button or other UI element. Scroll wheel was too slow, too big and clunky. My hand was constantly getting tired. Nevertheless, I started to get used to it over the time, thus decreasing the strain of the hand and increasing precision. Though, the scroll wheel still stays as the biggest inconvenience, since it was the major feature I had been looking for. It works, but scrolling is very slow and reaction time after rotating the wheel visibly lags behind. Furthermore, my thumb gets painful and tired easily, even over the time I haven't really gotten used to it. Honestly, I am not sure, if I will keeping using it, I may switch to a regular mouse or try the Kensington Orbit trackball with the scroll ring. It is probably the most unsuccessful hardware purchase in 2019.

NetBSD

I was quite active in the NetBSD project community this year: I managed to port IC Plus IP1000/1001 PHY driver from OpenBSD (used by many VIA EPIA boards, also IC Plus own network cards), fixed support for VIA VX800 (and possibly VX855, VT8237S) SATA controller (previously partially working in IDE mode only), 4World USB to Serial adapter (already mentioned in 2018 review), found the fix for the Biostar X370GT5 SATA controller locking issue, requested to pull-up the fix for D-Link DUB1312 USB network card to NetBSD 8 release. In addition, I noticed and identified the applied fix for the long standing bug on Ryzen system, where the OS was failing to identify a second SATA hard drive. This bug was causing to stall even UEFI POST process on reboot. Fortunately, this fix made it into NetBSD 9.0 release. Also I noticed some typos and white-space issues in the code. Finally, I updated the seemingly abandoned Codelite IDE package in pkgsrc to build the latest stable version at that time (from 9.1 to 13.0). Despite these successes, I also had some let-downs. I couldn't fix the USB and Ethernet issues on eBox 3352DX3-AP computer. I found a workaround to make Ethernet controller work, in case SMP and ACPI is disabled, but the proper fix is still unclear. Besides that, once suddenly Fnatic Gear Rush keyboard stopped working, with the help of NetBSD developer I identified that it was caused by accidental switch to 6KRO mode. It appeared to be working in NKRO mode only (which was the opposite up to NetBSD 7.1 release). Hopefully, it can be fixed to work on both modes in the future. Seeing quite a successful last year, I hope that I will be able to solve some issues in 2020 as well.

eBox 3352DX3-AP 

The last chapter I will dedicate to some insights on how to run BSD system on eBox 3352DX3-AP VortexDX3 based system, since I promised that on the last review.

FreeBSD 12.0 works the best out of BSDs, which can perfectly boot on default BIOS configuration. The only issue is the integrated network controller (R6040) which fails to work. This issue is common to all BSDs, since drivers are based on FreeBSD one. Similarly to the described below workaround on NetBSD, it may be also applied for the FreeBSD. By removing all the vte_reset() calls in the driver and recompiling a custom kernel, it should make the network work. Unfortunately, the latest release at time of writing (12.1) introduced some regression which causes instant failure on boot. I submitted the bug report but I don't expect it to be resolved soon. So, in case FreeBSD is a preferred choice, I recommend to run 12.0 release. Alternatively to editing and compiling the custom kernel, USB based network controllers can be used to enable the network.

OpenBSD is probably on the worst situation. I identified only one way to boot into the system without kernel recompilation by disabling "ACPI aware OS" option in BIOS. However, neither USB nor Ethernet works, which renders the system usefulness limited to some local automatic jobs only. It can boot with ACPI enabled/IDE in legacy mode by recompiling kernel without DIAGNOSTIC option. SMP works in both cases. If you want to work with OpenBSD for any reason, I would recommend to look for the system with COM ports (or try to solder the one).

NetBSD support is somewhere in the middle among the three. In order to boot the system with "ACPI aware OS" option enabled in BIOS, IDE should be set to "legacy mode". Otherwise, various timeout exceptions will occur and system will fail to boot. Similarly to OpenBSD, neither USB nor network will work in this case but both CPU cores (SMP) will work without requirement to rebuild the kernel. Booting with ACPI and SMP disabled (boot -12) will give USB support. Furthermore, it is possible to make network work in this case as well, but removing vte_reset() calls in if_vte.c (R6040 driver) and rebuilding your custom kernel. In case loosing SMP and ACPI are acceptable options, it makes a fully working system. Unfortunately, a workaround for the network didn't work for OpenBSD (more specifically, it actually does work, but network still fails to connect due to some other issue).

Summary and 2020

2019 was a pretty good year in the hardware/software context. Most of my projects went smoothly, and newly acquired hardware met or even exceeded expectations (except the trackball). It was also the most active year in NetBSD for me. Besides starting using it as Desktop operating system quite regularly, I managed to provide several patches to improve hardware support and provided my first contribution to pkgsrc project. I hope to keep this pace in 2020 as well, though time-constraint is my main enemy. Hardware wise, I don't have specific plans for 2020. I may upgrade to a newer Ryzen CPU and upgrade some other parts but non of these are a high priority. Like last year, such decisions probably will depend on pricing and unexpected deals. I do plan to revive my Alpha CPU based Microway PC164 Screamer system and I already have bought "old new" 8x32MB modules of SIMM RAM (Samsung KMM53616000AK-6) for it. Considering all these future plans, I believe that I will write at least a few articles this year, which I hope will be an interesting read.

2018-01-06

Linux on Jetway JNF76-N1G-LF in 2017

Back in 2009 I bought the Jetway JNF76 motherboard including ADPE4S-PB daughterboard (4xSATA II marvell controller) for their proprietary connection (Jetway Daughter Board Connector Gen 1). The motherboard was equipped with VIA Nano U2300 1GHz CPU and VX800 chipset. Eventually it replaced another board VIA VT-310DP as my main NAS (network attached storage) server. During that time it took me quite a while to find a properly working setup. I tried all BSDs and some Linux distributions, until I was forced to switch from my initial NetBSD 5.0 setup to Debian Linux 5. Refer to my previous articles by clicking here, here and here. Finally some outstanding issues were resolved during my transition to Debian 6 in 2011. Debian Linux setup worked for around 5 years in my server till my OS installation containing flash drive died. Few weeks ago I decided to revive the system but using a different lighter Linux distribution. The folowing points I listed were the issues I encountered during the time I was using Debian.
  • Debian Linux required additional configuration for drives connected to ADPE4S-PB controller to be recognized (adding ahci.marvell_enable=1 to some file in /etc/modprobe.d/). I was wondering if it is still the case today.
  • A06.1 BIOS version wasn't compatible with any Linux distribution I've tried at that time (boot process was hanging up before any boot messages were available on the screen), only falling back to A05 version was solving the issue.
  • IDE mode was needed to be used for native VX800 SATA controller for ADPE4S-PB daughterboard to initialize during PC boot process (BIOS issue).
  • Graphical install was working during that time.
During this endeavor I have tried to install the following Linux distributions:
I also tested live images of these distributions:

A06.1 Linux issue 

The board reached EOL long ago however I was still expecting some BIOS upgrades after A06.1 version in 2010. Since then I was communicating with Jetway extensively regarding Linux boot issue (I've tried around 5 major distributions at that time, all of them failed to boot), however their answers didn't help me reach any conclusion. Eventually I just downgraded BIOS back to A05. Unfortunately, visiting their current page showed that A06.1 version is the last upgrade for this board, and no more upgrades can be expected. Out of curiosity I updated BIOS again and I can confirm that during the time I was writing this article, Linux boots unless no USB devices are attached, otherwise system crashes with "Fatal exception in interrupt" message. If you attach USB device after system is loaded, it will work but Linux still can crash at any given with the same error (in my case during system upgrade process). It is  improvement over immediate crash without boot log messages but hardly justifies BIOS upgrade. On the other hand, BIOS release notes stated that it fixed the 2TB hard drive detection issue however I didn't have any problems with >2TB drives on A05 BIOS anyway (over the time I used at least three or four different models from Hitachi, Seagate, Toshiba and possibly WD). I would personally recommend to upgrade the latest BIOS version only if necessary.

LXLE and SparkyLinux

My initial goal was to use CRUX distribution for the NAS server. It didn't have a live image and its installation image was pretty primitive, thus it lead me to search for a light Linux distribution which had live image for initial testing. SparkyLinux and LXLE were the ones which caught my attention because they both used light window managers by default (OpenBox, LXDE). The former is based on testing Debian branch, while the latter on Ubuntu. Unfortunately, it appeared that graphics-based installation failed on both, which meant LXLE was not useful for my needs. Therefore, since SparkyLinux had a console-based boot support then it proved to be a quite good "rescue" type distribution. It is important to note that hard drives attached to ADPE4S-PB daughterboard weren't recognized on SparkyLinux otherwise it worked OK on the system and provided enough tools for my testing needs.

CRUX Linux

I was really hoping to finally grasp this quite unique Linux distribution which uses BSD style unit scripts and ports style package management. Why? Mainly because among all other Linux distributions CRUX has the features closest to BSD since I am more a BSD person than a Linux one. 

Initially setup image boot failed which was caused by an aspm (Active-State Power Management for PCI-E) issue. The solution was to add pcie_aspm=off parameter on every boot (just write CRUX pcie_aspm=off in boot console). Apparently other Linux distributions do that automatically depending on detected PCI-E version (noticed that in boot logs). CRUX installation is similar but even more primitive than NetBSD or OpenBSD. You need to partition disks manually using fdisk, manually edit fstab, hosts and other required configuration. Eventually you run setup script on mounted root partition (to /mnt) which copies system files to a required location. Then you chroot to your system root partition (setup_chroot), compile your own kernel and install bootloader (lilo is default but I used grub2). This Linux distribution doesn't have initial RAM disk (initrd) by default so all drivers must be compiled into the kernel. This condition eventually became my brick wall. I just couldn't find the combination which could boot the system. Even if partitions and hard drives were visible in boot log during boot process (both attached to native VX800 controller or daughterboard one) it was ending up with "VFS: Unable to mount root fs" error. After a week of recompiling different kernel configurations I decided to give up on CRUX.

antiX Linux

Based on the problems I encountered previously, I looked around for faster solution and stumbled upon Antix Linux which was systemd free Debian based system and supported console based installation. Installation went pretty smoothly but I could not resolve an issue for drives attached to an ADPE4S-PB daughterboard. It is based on Marvell 88SE6145-TFE1 controller and similar to my installation back in 2009 it still required disabling marvell pata driver in most Linux distributions manually. I just couldn't find ways on how to do this in antiX but I didn't want to spend more time in searching for answers from forums (I couldn't find the information I needed from old discussions thus getting it would mean starting a new thread). For this reason I just decided to switch again.

Manjaro Linux

There were three reasons why I wanted to try Manjaro Linux:
  1. I use Manjaro as my main distribution on my desktop system from the end of 2013 to present, and I am familiar with it pretty well by now. 
  2. It is based on Arch which had a good description on how to solve marvell SATA issue from their forums. 
  3. Manjaro has a console-based Manjaro-Architect edition which gave me hope to run it successfully on the system.
Unfortunately though, the boot process ended up with a message in my monitor showing "Sync. Out of range", and I couldn't find a quick solution to that. Therefore, Manjaro failed as well, which made me decide to try Arch Linux.

Arch Linux

Arch Linux had a console-based installation and required internet access (at least the image I used). It had a couple of helpful utilities which generated files, like fstab, compared to manual editing which can be found on CRUX, although partition management is still manual using fdisk or cfdisk. Installation went pretty smoothly according to Arch Linux documentation. I won't go into details because this article is not about Arch Linux installation process, but I will describe specific changes that I had made to configuration for my particular setup. Initially, I replaced filesystem references from /dev/sd* to partition UUIDs in fstab file. In addition, I also disabled system beep by adding  /etc/modprobe.d/nobeep.conf file with "blacklist pcspkr" content. Finally I performed changes to enable marvell SATA (for ADPE4S-PB daughterboard to work):
  • Added /etc/moprobe.d/blacklist_pata_marvell.conf
    • blacklist pata_marvell
  • Added /etc/modprobe.d/ahci-enable-marvell.conf
    • options ahci marvell_enable=1
  • Modified /etc/mkinitcpio.conf file
    • MODULES=(ahci)
  • Regenarated initramfs
    • mkinitcpio -g /boot/initramfs-linux.img
The boot disk can now be connected to the daughterboard after the changes in the configuration and system reboot were done.

So far this installation runs OK. Arch Linux is a distribution which is relatively less troublesome to install and fully utilizes my hardware.

Conclusions

  • IDE mode is still required for native controller in BIOS if you want to use ADPE4S-PB daughterboard (including the latest A06.1 BIOS version). LAN boot ROM can be enabled though.
  • Additional configuration is still necessary for Linux to see drives attached to ADPE4S-PB daughterboard. More specifically marvell pata driver needs to be disabled and ahci marvell driver needs to be enabled. It means you can't install OS to drive attached to this daughterboard but it can be reattached to the daughterboard after necessary changes are performed.
  • Linux is booting on A06.1 BIOS version currently but only without USB devices attached, therefore I personally recommend A05 version.
  • It takes hell of a time to find the right distribution and configuration mainly because of SATA daughterboard. If you are not using it, most distributions should work out-of-the-box in case they are using console-based installation. I couldn't boot into CRUX unfortunately but setup image works with pcie_aspi disabled, so probably I just couldn't find the right kernel/system configuration.
  • Arch Linux proved to be the most suitable lightweight distribution to utilize ADPE4S-PB daughterboard.
  • Graphical installation or xserver failed to work on any distro mentioned above (not sure about the reasons, some definitely didn't have openchrome driver but I believe some had. Your experience may be different. Since this particular issue is irrelevant to my setup at the moment, I didn't investigate further. VX800 integrated graphics is supported by openchrome driver, so theoretically it should work with light window managers).

2013-04-02

Some new photos in my cpu collection gallery

I have finally added some new CPU photos to my CPUCollection gallery. It is still not the full collection but I am closing the gap before new great chips will arrive next month.

The noticeable ones this time are:

Intel Itanium 9350 SLBMX. The fastest Tukwila model with "enormous" 185W TDP.


Unknown but very beautiful and unusual IBM chip

IBM POWER6 dual core CPU operating at 4.7GHz


Sun UltraSPARC T1 (Niagara CPU) 8 cores, 1.2GHz


Motorola MC88100RC33. Quite rare example from Motorola 88100 family.


I also uploaded photos of these CPUs too:

Sun UltraSPARC IIIi 1600MHz (the fastest UltraSPARC IIIi family CPU)
IBM PowerPC PPC604e30BCG333E
Intel NG80960JD50 on CISCO CPU board

2013-01-05

2013 and up

Happy new year everyone. I am not the most active blogger in the world but I still don't plan to be silent this year too. As usual this blog will be focused on activities with my own hardware and software. I hope some information will be useful for my blog readers too.

There are some plans this year which I can divide into several categories and probably the most of blog posts will be around these topics.

Hardware:
  • I plan to change my NAS server which uses Jetway JNF76 mainboard into real NAS device. I think device will fall into the cheap NAS category (something like ZyXEL NSA325). The main point of the change is easier management. I don't have time and motivation to configure Linux to my all needs. NAS devices usually have simple web interface for most cases I need (power management, more versatile back-up, torrent, RAID). They use much less power too.
  • My main desktop computer should be the same sandy bridge-ep platform I had bought last year. I have already upgraded memory to 16GB (4x4GB quad channel). I am not sure what I'll upgrade in it (maybe nothing) but the strongest candidates are GPU (to R4xxx series) and hard drive (to SSD).
  • Microway Streamer PC164 has memory problems once again with new RAM sticks. Though I can install and boot NetBSD still. This system is almost unused. I just try to install the newer NetBSD version from time to time. Another DEC Alpha motherboard is unused too and I don't plan even to boot it in near future.
  •  VIA VT-310DP is still good and healthy. And I use it often as my main testing platform. NetBSD support is greatly improved on it. 6 branch (probably will end up into 6.1 release) and current branch (7.0) doesn't have any problems at all. The fix for the freeze on second CPU detection was pulled up to 5, 6 branches (6.0 and 5.2 official releases has this fix). There are ACPI problems with SATA and USB devices on all official releases but current and 6 branches have already applied patches that addressed those problems too.
  • VIA EPIA-M900 should remain the main desktop platform for my other family members. HDD was upgraded to Kingston V+200 120GB SSD last year. It greatly improved loading times of Windows and some applications (Starcraft II especially). CPU is the biggest bottleneck right now. I don't plan any big upgrades (I would like to have some small changes but there are difficult to implement). Maybe I'll write one more review on usage advantages and shortcomings some day.
  • There is a possibility that I'll get some netbook (which are declared dead :D) or small laptop.
Software (operating systems):
  • My main setup is Fedora Linux and NetBSD. Fedora plans to release 18 version soon. I'll upgrade as soon as possible of course. NetBSD released a major release (6.0) and some minors (6.0.1 and 5.2) last year. I expect that this year won't be major releases but 6.1 (with some new features and bug/security fixes) can be released. 6 release is ok for me so I probably won't need to switch to current branch I needed before 6 branch had appeared. I currently use 6.0.1 with patched kernel to support my integrated broadcom NIC (I applied patch from current branch into 6.0.1 source code). VT-310DP will use current branch.
  • Haiku OS released Alpha 4.1. I still haven't tried it but I expect to do this (or newer build) sometime this year.
  • Syllable development quite stalled right now (or very slow). It even was forked into Pyro OS because of this however no actual releases have been done yet by this forked project. I haven't used Syllable for years but I plan to look into it some time this year depending on situation.
  • I hope to try DragonFly BSD just for curiosity at first.
Other activities:
  • I will attend at FOSDEM'13. This is the first such conference for me but I hope to enjoy it.
  • There are lots of great new CPUs in my CPU collection which I haven't placed to photo gallery yet. They will end up there eventually. I hope to spend some to provide more information on them but the result won't be noticeable this year I think. I am not sure how many new ones I'll buy this year but my focus switched to more rear ones so quantity won't be big.
  • I dream to buy QNX based Blackberry 10 platform mobile phone (devices are planned to release on 31 January). 
  •  I plan more actively to participate in NetBSD community.

2012-04-08

Sandy Bridge-EP platform

While Intel's Ivy Bridge CPUs are on the horizon I happened to get Sandy Bridge-E sample on my hands. It is Sandy Bridge-EP 4S more precisely. This CPU will become a member of Xeon E5-4600 series when they will be released and they are primarily intended for 4-way servers. My sample is packed into 2011-land FC-LGA package and works on LGA 2011 socket.  Despite its intended purpose to be a server CPU it can be used on desktop perfectly too. My sample's s-spec is QAFF and its specifications are as follows:
  •  3GHz frequency (30x multiplier), max 3.3 GHz on turbo boost
  • 10 MB L3 cache
  • 4 cores, 8 threads
  • 32 nm 
  • 130W TDP (not confirmed)
  • support for AVX, SSE4.2 and other modern instructions and features like in most sandy bridge cpus.
So I would call it "low-end" or "mainstream" CPU on targeted platform and it is comparable to Core i7 3820 desktop CPU by specs but has much less frequency (3820 clocked at 3.6 GHz by default). CPU multiplier is locked. 

There is always a risk if you buy engineering sample CPU. Firstly, no motherboard will support it officially and you need to find at least some information on supported ones (mostly you need to know at least one supported motherboard from specific manufacturer and then compare their motherboard specifications, BIOS and CPU support to make decision if you are not satisfied this the one you found as compatible). In the worst case you probably will be able to sell incompatible motherboard for some little loss (of course, if you don't live in the small country like me). Secondly, you won't have any warranty. If CPU will die, nobody will replace it. Finally, you can't write a lot about it until official CPUs are released (Intel doesn't like leaked CPUs and can take actions on sellers and on even on bloggers). Nevertheless this CPU has more or less the same core as other Sandy Bridge-E(P) CPUs so you can always imagine performance by reading articles on similar items. When you consider all these factors and still decide to buy a CPU you should be ready to lost the money in the worst case. However, it is still aren't very risky decision in my experience. CPU is probably one of the most reliable parts compared to other computer parts. If you spend enough time to check motherboard compatibility and have enough sources to prove your decision this move becomes even less risky. On the bright side ES CPU can be purchased for less money than production chip (not applicable for first samples of new architecture or platform or very rare collectible old items).

Personally it is my second engineering sample CPU (used for actual computer, not for collection purposes). First one was Xeon E5540 ES Q1E2 Nehalem CPU. Unfortunately, X58 platform wasn't very satisfactory for my purposes and I replaced it with Athlon II X2 235E on AMD 780G platform. It was great platform until Jetway JNC81 motherboard died. Jetway replaced it with JNC84-E but it wasn't so friendly with NetBSD. What is more, I wanted more performance for compiling, folding and other tasks. Though, I still didn't plan to change computer initially in the near future but I bought Sandy Bridge-EP CPU at a reasonable price and decided build the platform on it.

I wanted to go as cheaply as possible because of this I bought relatively cheap ASRock Extreme4-M motherboard, Thermaltake Contac39 CPU cooler and reused some parts from retired mother's Phenom II X2 555 computer (like RAM and graphics card) and my computer (HDD). I plan to add two more RAM modules to make them work on 4 channel mode but currently system works on 2 channel mode. I also would like to get less powerful and more power efficient graphics card (GeForce GTS450 now) but it depends on how successfully I will sell my parts on second hand market. Nevertheless the platform still cost quite a lot as X79 motherboards are pricey and even the cheapest one cost about double of what I spent on one motherboard typically. Extreme-4M wasn't the cheapest one but Intel boards didn't have enough sources to prove compatibility (ironically) and Extreme-4M was more appealing for me than Extreme-3 which one was the cheapest solution from ASRock line.

So my current setup is:
System setup went without big problems. CPU was recognized as GenuineIntel 3GHz. It works on 1.2GHz on idle. Motherboard uses modern UEFI BIOS. I needed to set 1600 MHz for RAM manually as they worked as 1333MHz by default. No other big changes were needed. Fedora 16 booted without visible problems and worked perfectly. NetBSD wasn't so good. It booted better than on JNC84-E platform (it typically didn't load on first try and needed repeated boot command in the bootloader. This problem disappeared by surprise for me), but NIC (Broadcom BCM57781) didn't work correctly (as result no internet and network), GTS450 graphics card wasn't supported too (X.org failed to start). Keyboard needed reconnect on the first boot but problem didn't reoccur on other times.  So currently I need to solve these issues somehow. On the other hand I expected more worse situation as platform was relatively new. These two problems are quite small and solvable. Of course, USB3.0 is not supported on NetBSD but I don't have any devices anyway. The whole platform uses 86-92W on idle and ~160W on full CPU load (by folding@home). For comparison unlocked 4 core Phenom II X2 555 used around 200W and more with the same graphics card and RAM.

QAFF ES 3.0 GHz

2012-02-29

EPIA-M900 power usage and performance

This is the last article from my series about my EPIA-M900 system (first, second). This time I'll focus on power usage numbers, some small performance tests and overall feel.

I used  Tunex multifunction power meter to measure a power usage. All tests were made using Windows 7 64-bit edition. The whole system (including eH1 graphics card and HDD) without monitor uses 44-46W on idle. 44W is more constant than higher values. I tested system on BIOS without graphics card too and it showed 29-31W values. So graphics card adds about 15W on idle. Later I used AIDA64 stress tests and GPU-Z render test to simulate system's maximum power usage with and without HDD stress test. On full load (CPU and GPU) power meter showed 75-77W and 73-74W with and without HDD stress test respectively.  That was the maximum power usage numbers I managed to get on this system. GPU render test raised power usage to 55-56W. CPU load only increased power usage more than GPU load to 68-69W. Finally, while playing Starcraft II this range was between 70-71W. So it is difficult to say how much power usage increased because of GPU or CPU as other components takes some too and overall power usage doesn't increase on the same level as on CPU or GPU load separately.

While power usage numbers are quite good we should look into performance. As of 26 February, 2010 1.6GHz (1.73GHz on turbo) is the maximum frequency you can get from dual core VIA CPUs. VIA Nano X2 L4350E TDP is 27.5W. So you can compare it to low usage mobile CPU (if I am correct, current standard mobile CPU's TDP goes from 25W-45W typically) by TDP. Unfortunately, performance is on the lower range and you need to compare them to Intel Atom and AMD APU from bobcat core series. This is the area where VIA CPU is really competitive. But this article won't make any summary and won't make big comparisons . I will provide only some raw numbers for your investigation and reference. 


Firstly I used y-cruncher multithreaded pi benchmark application. I used 50,000,000 decimal digits test and Linux 0.5.5 Build 9187 version. Total result was 126.278 seconds for this test. Single core VIA Nano L2200@1.6GHz completed test in 299.358 seconds. U2300@997MHz needed 497.043 seconds. The same test was slower on Windows for unknown for me reason (about 20 seconds in total). If you want to compare this result to other CPUs, it is comparable to Intel Celeron T3100 result.

I also ran AIDA64 tests (
v2.00.1700). I didn't tested L2200 but AIDA64 had results in their table. Memory read using DDR3-1066 SDRAM 7-7-7-20 CR2 was 3747 MB/s (Nano L2200 with DDR2 3352  MB/s). While memory write test was much faster than L2200, 7138 MB/s against 3157 MB/s. Memory copy 4944 MB/s vs 2759 MB/s. Memory latency was the same 117.3 ns on both systems. CPU Queen - 5890 vs 2580. This test was a little bit faster than AMD E-350 (5169). CPU PhotoWorxx - 5083 vs 2493. For reference Celeron 420 had almost the same result, E-350 had quite lower result at 4375. CPU Zlib - 34.2 MB/s, L2200 - 14.7 MB/s, E-350 31.0 MB/s, Core i5-650 HT - 101.1 MB/s. Padlock module helps VIA Nano CPUs to shine on CPU AES test where L4350E got 86803 points and lost only to CPUs with Intel AES support (though considerably) but others without it lost considerably (even 12xOpteron 2431 got 78761 points), L2200 - 40002 points. CPU Hash test gained 1054MB/s vs 549MB/s (E-350 achieved 326MB/s only). FPU was always quite a weak place for Centaur CPUs but Nano architecture improved FPU performance. FPU V8 436 vs 318, This test was bad for VIA CPUs, even E-350 got a little bit more here. On the hand it showed better results at FPU Julia and Mandel tests 1862vs892 and 832vs428 respectively (E-350 got results in between closer to L2200). Finally FPU SinJulia was a weak place too: 302vs132 while E-350 - 506. This is all tests I made. Tests showed quite mixed results but I believe that L4350 is comparable to first generation dual core AMD K8 CPUs or last generation Pentium 4 CPUs. Somewhere they will be quite faster, elsewhere much slower. They are faster than dual core HT Intel Atom CPUs (at least first generation). The last thing I could test was folding@home project. Unfortunately, this CPU is not suitable for SMP client. It is just to slow (dual core phenom ii@3.2GHz will do 1% 12-15 minutes than this CPU will need 2.5 hours). I also added Windows 7 performance index last time it is here once again (the CPU got minimum 3.9 result):

Windows 7 performance index
In general, it feels that CPU is much slower than Phenom II X2. Active processes like antivirus, flash, program loading grabs quite much from CPU. It is expected result of course. You can't compare apples and oranges this time. However, if you want to feel comfortable at your desktop, this system can be a little to slow. Though it is not that bad after you get into it. I want to change HDD to SSD some day. This should solve slower loading times and I guess should help to feel more responsive and fast while using the system. The only program which used hardware GPU acceleration in videos was Windows Media Explorer (MPC classic unfortunately took only CPU). I will try to investigate this in the future.

I didn't do any GPU tests. I tried to run some DX10/DX11 benchmarks but eH1 was unable to run them at normal FPS. However I played Starcraft II at 1280x1024 without any noticeable problems and with good graphics settings. While playing GPU temperature didn't raised more than 6-7°C from starting point (never reached 50°C).  I believe you can play most modern games with such configuration and not very big resolutions without problems.


So this is it about this system. I hope you enjoyed these articles and found them helpful. Thank you for reading.

2012-02-16

EPIA-M900 system setup and Windows 7 start up

After I tested some open source operating systems I've decided not to play to long and started to assemble the main configuration for the desktop PC. It consists of EPIA-M900 motherboard, eH-1 graphics card, 2xKingston KVR1333D3S9/4G RAM (I am not really that Kingston fan but lately all RAM comes from them and I can't complain, they have very good compatibility with most boards), Samsung HD161HJ 160GB hard drive and In Win BM-639 case. Initially I planned to add CD-ROM too but some modifications disallowed that (later on that). RAM works at 1066MHz effective speed because it is the maximum VX900 supports.

The main purpose was to replace that annoying small CPU fan. So I perforated one side of the case above the CPU/chipset heatsink and installed 120mm fan. This "project" went ok and I was able to remove default fan. CPU cores temperature goes from 43°C on idle to 63-66°C max on load (speedfan show 5 degrees less than AIDA64 at the same time). CPU temperature is ~55°C by AIDA64. System temperature never rises above 31°C. The downside of this solution was that the fan blocked ability to add CD-ROM as original case design placed construction for 5.25'' drive just a little bit below that side of the case. GPU temperature range starts from 41.3°C on idle to 46-48°C on load. I firstly made one mistake during assembling because one wire stuck between GPU heatsink preventing fan from rotating. This lead to temperature from 81°C on idle to more than 126°C on load. You can understand from this that eH1 can work without fan :). Graphics card fan is surprisingly silent. I've read a lot of angry comments about active cooling solution in this card but it seems that they aren't reasonable this time (I know that fans tends to fail after some time but on the other hand you need to keep good airflow with passive cooling solution and need fans somewhere anyway). Unfortunately, the PCI-E riser was only 1.1 compatible so I needed to turn on the switch on graphics card to support slower PCI-E version. I tested that motherboard supports 2.0 version actually (at least graphics card worked switch in off mode). Finally, PCI-E slot is x16 physically only. x8 is effective speed of that slot.


AIDA64 CPUID
The other task was to fasten graphics card because I bought not suitable riser (I needed right angle one but I bought straight one. It lead to the problem that riser raised graphics card much above case panel for cards bracket fastening). The solution was simple. I inserted graphics card upside down (fan is on the top now). I needed to cut the bracket a little bit and make one hole in the it and the case for the screw but this solution needed minimal effort and almost no sacrifice for the future use of the case or graphics card (yes, the original bracket will not be suitable for normal insertion any more but I have replacements and you probably will find them at various IT stores too). Unfortunately my camera is broken now because of that I couldn't to make photos of these modifications but I'll try to do them in the future.


GPU-Z (some information inaccurate)
The last thing I wanted to do before Windows installation was BIOS update. I found the newer version on viaembedded web page and I made an upgrade. Firstly, it seemed that everything went ok. However, after I loaded system defaults, motherboard just didn't boot anymore. It was very unpleasant moment because I though that motherboard just died because of unsuitable BIOS version. Fortunately it booted after I changed RAM to some spares I had had at home. BIOS showed incorrect checksum error on boot but I was very happy nevertheless as motherboard was alive at least. I downgraded BIOS back to old version (fortunately I made a backup of it because you couldn't download it from viaembedded web page). I don't know why VIA decided to add this BIOS version without any release notes and description but they will gain lots of unsatisfied users with such irresponsible move. These days BIOS upgrades are simple and painless process usually, because of this users will try to do this from time to time. Such surprises should be avoided and BIOS purpose and suitability for particular model stated clearly. Anyway I recommend to use original BIOS versions with VIA motherboards :)...


After all preparations I was able to try Windows 7 (64-bit) finally. I wasn't installing them cleanly, just tried to boot into installed system from previous computer. This process went smoothly... almost. Every time I tried to connect to the network, Windows was hanging up and rebooting with good, old BSOD in the end. Solution was simple yet again, I needed to install network drivers from CD or web page. It seems that Windows update provided faulty drivers for some reason. I also installed the newest 500 series Chrome drivers from s3graphics web page instead of the ones from CD or viaembedded eH1 web page. All other devices were recognized by Windows and successfully installed into the system. Due to system resources requirement for physical memory addresses Windows sees 7.25GB of RAM instead of 8GB. I will discuss some performance results and power usage in the next article.
Windows 7 rating