Tag Archives: zfs

Valuable News – 2019/04/22

The Valuable News weekly series is dedicated to provide summary about news, articles and other interesting stuff mostly but not always related to the UNIX or BSD systems. Whenever I stumble upon something worth mentioning on the Internet I just put it here.

Today the amount information that we get using various information streams is at massive overload. Thus one needs to focus only on what is important without the need to grep(1) the Internet everyday. Hence the idea of providing such information ‘bulk’ as I already do that grep(1).

UNIX

GhostBSD 19.04 Overview.
https://twitter.com/ribalinux/status/1117856218251517956
https://youtu.be/jFfVp_zfk1c

Prometheus Exporter for FreeBSD CTL Daemon (iSCSI Target).
https://github.com/Gandi/ctld_exporter
https://twitter.com/_bapt_/status/1118001231384010753

My Summer at Bell Labs (Part 1).
My Summer at Bell Labs (part 1)

Oracle Solaris 11.4 SRU8 Available.
https://blogs.oracle.com/solaris/announcing-oracle-solaris-114-sru8

FreeBSD adds initial version of DTrace support for ext2fs driver.
https://svnweb.freebsd.org/base?view=revision&revision=346267

OpenSSH 8.0 Released.
https://lists.mindrot.org/pipermail/openssh-unix-dev/2019-April/037747.html

BSD Now 294 – SSH Tarpit.
https://www.bsdnow.tv/294

Shawn Webb (@lattera) minimizes differences between HardenedBSD (ASLR) and FreeBSD (ASR) implementations.
https://twitter.com/lattera/status/1119018409575026688

Crossmeta ZFS – Another ZFS Port on Linux.
https://www.crossmeta.io/another-zfs-port-on-linux/

Minio now can behave as HDFS Gateway.
# minio gateway hdfs hdfs://namenode:8200
https://github.com/minio/minio/blob/master/docs/gateway/hdfs.md

Unleashed 1.3 Released – Fork of Illumos for the 4th Time.
http://lists.31bits.net/archives/devel/2019-April/000052.html

The docbook2mdoc 1.0.0 Released.
https://undeadly.org/cgi?action=article;sid=20190419101505

Call for Testing – FreeBSD with ZFS on Linux Images Ready.
https://lists.freebsd.org/pipermail/freebsd-stable/2019-April/090915.html
https://github.com/zfsonfreebsd/ZoF
https://pkg.trueos.org/iso/freebsd12-zol/
https://pkg.trueos.org/iso/freebsd13-zol/

In Other BSDs for 2019/04/20.
https://www.dragonflydigest.com/2019/04/20/22797.html

FreeBSD adds support in psm(4) for 4 and 5 finger touches in synaptics driver.
https://svnweb.freebsd.org/base?view=revision&revision=346455

LibreSSL 2.9.1 Released.
https://marc.info/?l=openbsd-announce&m=155590112606279&w=2

NomadBSD 1.2 Released.
http://nomadbsd.org/

Hardware

NSA-B-GONE – Sketchy Hardware Security Device for Lenovo ThinkPad X220.
https://hackaday.io/project/164343-nsa-b-gone
https://github.com/zakqwy/NSA-B-GONE

AMD Ryzen Embedded R1000 Family Launched.
https://www.servethehome.com/amd-ryzen-embedded-r1000-family-launched/

TSMC Reveals 6nm Process Technology: 7nm with Higher Transistor Density.
https://www.anandtech.com/show/14228/tsmc-reveals-6-nm-process-technology-7-nm-with-higher-transistor-density

Samsung Completes Development of 5nm EUV Process Technology.
https://www.anandtech.com/show/14231/samsung-completes-development-of-5-nm-euv-process-technology

Avalue EMX-KBLU2P Mini ITX Motherboard with Intel Core i7/i5/i3 and Passive Cooling.
https://www.avalue.com.tw/news/Avalue-introduces-EMX-KBLU2P%2c-the-thin-Mini-ITX-Embedded-Industrial-motherboard_2984

Whiskey Lake ZBOX is Official.
https://www.fanlesstech.com/2019/04/whiskey-lake-zbox.html

Life

Paranoid Person Guide to Online Privacy.
https://www.fastcompany.com/90316917/the-paranoid-persons-guide-to-online-privacy

Facebook says it ‘unintentionally uploaded’ 1.5 million users email contacts without permission.
https://www.cnbc.com/2019/04/18/facebook-reportedly-uploaded-people-email-contacts-without-consent.html

Unmasked: What 10 million passwords reveal about people who choose them.
https://wpengine.com/unmasked/

Evidence that Jesus ever existed is weaker than you might think.
https://www.rawstory.com/2019/04/evidence-jesus-ever-existed-weaker-might-think/

Other

Former Mozilla Exec – Google Sabotaged Firefox for Years.
https://www.zdnet.com/article/former-mozilla-exec-google-has-sabotaged-firefox-for-years/

Vendors must add physical on/off switch to devices that can spy on us.
https://larrysanger.org/2019/04/vendors-must-start-adding-physical-on-off-switches-to-devices-that-can-spy-on-us/

These 17 Firefox tips make it easy to switch from Chrome.
https://www.fastcompany.com/90333407/these-17-firefox-tips-make-the-case-for-ditching-chrome

EOF
Advertisements

Valuable News – 2019/04/15

The Valuable News weekly series is dedicated to provide summary about news, articles and other interesting stuff mostly but not always related to the UNIX or BSD systems. Whenever I stumble upon something worth mentioning on the Internet I just put it here.

Today the amount information that we get using various information streams is at massive overload. Thus one needs to focus only on what is important without the need to grep(1) the Internet everyday. Hence the idea of providing such information ‘bulk’ as I already do that grep(1).

UNIX

Linux Desktop is in Trouble.
https://www.zdnet.com/article/the-linux-desktop-is-in-trouble/

The hey is tiny program that sends load to web application.
https://github.com/rakyll/hey

Handling Arguments in Bash Scripts.
https://dev.to/rpalo/handling-arguments-in-bash-scripts-3o5m

NetBSD – From Zero to NVMM.
https://blog.netbsd.org/tnf/entry/from_zero_to_nvmm

Introducing funlinkat() (on FreeBSD).
https://oshogbo.vexillium.org/blog/63/

Customizing OpenBSD xenodm (and xdm).
https://www.tumfatig.net/20190208/customizing-openbsd-xenodm/

Stack Overflow Developer Survey Results 2019.
https://insights.stackoverflow.com/survey/2019

OS.png

FreeBSD switches default version of Python to 3.6.
https://svnweb.freebsd.org/ports?view=revision&revision=498529

DΓ¦mon Desktop – The High-Integrity Desktop.
https://forums.freebsd.org/threads/the-daemon-desktop.66322/

Portable ksh(1) Shell from OpenBSD 6.5.
https://github.com/ibara/oksh/releases/tag/oksh-6.5

ZFS without ECC is safer then most filesystems with ECC.
https://twitter.com/allanjude/status/1116112323549257728

The illuminate (formerly SolView) is Java utility to display information about an Illumos/Solaris.
http://petertribble.co.uk/Solaris/illuminate.html

Installing Snort on OpenBSD 6.4.
Installing Snort on OpenBSD 6.4

HOWTO: HA Router/Firewall Using OpenBSD/CARP/pfsync/ifstated.
https://www.reddit.com/r/openbsd/comments/b33goi/howto_high_availability_routerfirewall_using/

AWS OpenBSD Image Builder (AMI) and cloud-init Replacement.
https://github.com/ajacoutot/aws-openbsd

Install Mate Desktop on OpenBSD.
https://twitter.com/wesley974/status/1116061247248773120

OPNsense 19.1.6 Released.
https://forum.opnsense.org/index.php?topic=12398.0

BSD Now 293 – Booking Jails.
https://www.bsdnow.tv/293

Lessons Learned Scaling PostgreSQL Database to 1.2bn Records/Month.
We have a lot better hardware than any of the cloud service providers could offer, point in time recovery (thanks to Barman) and no vendor lock-in, and (on paper) it is about 30% cheaper than hosting using Google Cloud or AWS.
https://medium.com/@gajus/lessons-learned-scaling-postgresql-database-to-1-2bn-records-month-edc5449b3067

In Other BSDs for 2019/04/13.
https://www.dragonflydigest.com/2019/04/13/22750.html

FreeBSD adds NUMA support to powerpc architecture.
Yields ~20% improvement in build times of LLVM on dual socket POWER9.
https://svnweb.freebsd.org/base?view=revision&revision=346174

GhostBSD 19.04 Available.
http://ghostbsd.org/19.04_release_announcement

GhostBSD 19.04 Switches To LightDM – Uses FreeBSD 13.0-CURRENT.
https://www.phoronix.com/scan.php?page=news_item&px=GhostBSD-19.04-Released

The pkgsrc-2019Q1 Released.
https://mail-index.netbsd.org/pkgsrc-users/2019/04/10/msg028308.html

Call for Testing – OpenSSH 8.0p1 is Almost Ready for Release.
https://lists.mindrot.org/pipermail/openssh-unix-dev/2019-March/037672.html

HardenedBSD Internals by Shawn Webb (@lattera).
https://twitter.com/krnlpnc_/status/1117504683881443329

Resize ZFS Pool on FreeBSD GELI Partition.
https://stderr.at/blog/freebsd/2015/09/20/freebsd-geli-resize/

Hardware

Supermicro M11SDV-4C-LN4F Review mITX AMD EPYC 3151 Platform.
https://www.servethehome.com/supermicro-m11sdv-4c-ln4f-review-mitx-amd-epyc-3151-platform/

ASRock Launches DeskMini A300 Barebones Mini-STX PC Supporting AMD RYZEN CPUs.
https://www.pcper.com/category/tags/mini-stx

AMD Launches 2nd Gen Ryzen Pro & Athlon Pro APUs.
https://www.anandtech.com/show/14185/amd-launches-2nd-gen-ryzen-pro-athlon-pro-apus

Intel Xeon Follows AMD EPYC Lead Offering Discounted 1P Only SKUs.
https://www.servethehome.com/intel-xeon-follows-amd-epyc-lead-offering-discounted-1p-only-skus/

Life

Case dropped against British facing jail in Dubai for calling ex-husbands wife ‘horse’ in 2016 on Facebook.
https://www.itv.com/news/2019-04-07/british-mother-faces-two-years-in-dubai-jail-and-50-000-fine-for-old-facebook-posts/

Moral Peril of Meritocracy.
https://www.nytimes.com/2019/04/06/opinion/sunday/moral-revolution-david-brooks.html

Urgent Quest for Slower and Better News.
https://www.newyorker.com/culture/annals-of-inquiry/the-urgent-quest-for-slower-better-news

Great Developers are Raised not Hired.
https://sizovs.net/2019/04/10/the-best-developers-are-raised-not-hired/

Life Satisfaction Boosted by Sense of Oneness – Regardless of Religion – Study Finds.
https://www.newsweek.com/life-satisfaction-boosted-sense-oneness-regardless-religion-study-finds-1391618

There are now as many Americans who claim no religion as there are evangelicals and catholics.
https://edition.cnn.com/2019/04/13/us/no-religion-largest-group-first-time-usa-trnd/

Other

Protections Against Fingerprinting and Cryptocurrency Mining in Firefox.
https://blog.mozilla.org/futurereleases/2019/04/09/protections-against-fingerprinting-and-cryptocurrency-mining-available-in-firefox-nightly-and-beta/

It is your moral obligation to use Firefox.
https://0x46.net/thoughts/2019/04/09/use-firefox/

Amazon Workers are Listening to What You Tell Alexa.
https://www.bloomberg.com/news/articles/2019-04-10/is-anyone-listening-to-you-on-alexa-a-global-team-reviews-audio

EOF

Valuable News – 2019/04/08

The Valuable News weekly series is dedicated to provide summary about news, articles and other interesting stuff mostly but not always related to the UNIX or BSD systems. Whenever I stumble upon something worth mentioning on the Internet I just put it here.

Today the amount information that we get using various information streams is at massive overload. Thus one needs to focus only on what is important without the need to grep(1) the Internet everyday. Hence the idea of providing such information ‘bulk’ as I already do that grep(1).

UNIX

FreeBSD on HiFive Unleashed.
https://youtu.be/1rMNrfDu-uA

OmniOS Community Edition r151028v/r151026av/r151022ct Available.
https://omniosce.org/article/028v-026av-022ct

Valgrind Ported to NetBSD/amd64.
https://mail-index.netbsd.org/tech-toolchain/2019/04/01/msg003429.html

FreeBSD Foundation – FOSDEM 2019 Conference Recap.
https://www.freebsdfoundation.org/blog/fosdem-2019-conference-recap/

Hikari – Window Manager for FreeBSD and OpenBSD.
https://chaos.social/@raichoo/101858280176156092
https://hub.darcs.net/raichoo/hikari

The ezjail FreeBSD Jails framework ported to HardenedBSD.
Focus is on automating TOR Jail deployment using gibson.
https://github.com/emeraldonion/ezjail-hbsd

Configuring Default Resolution for FreeBSD 11 with UEFI.
http://www.codenicer.com/content/configuring-default-resolution-freebsd-11-uefi

FreeBSD HEAD became possible to build on EC2 ARM64 AMIs.
https://lists.freebsd.org/pipermail/freebsd-cloud/2019-April/000215.html

Slides from 2019 BHYVECON are now available at bhyvecon.org page.
http://bhyvecon.org

How to Get Started with FreeBSD.
https://www.digitalocean.com/community/tutorials/how-to-get-started-with-freebsd

BSD Now 292 – AsiaBSDcon 2019 Recap.
https://www.bsdnow.tv/292

GhostBSD – Solid Linux Like Open Source Alternative.
https://www.linuxinsider.com/story/GhostBSD-A-Solid-Linux-Like-Open-Source-Alternative-85859.html

FUDO Security implements automatic online expansion of GELI providers on FreeBSD.
https://twitter.com/FreeBSDHelp/status/1113793688910458883
https://svnweb.freebsd.org/base?view=revision&revision=345862

About ZFS recordsize Parameter.
https://jrs-s.net/2019/04/03/on-zfs-recordsize/

Silent Fanless FreeBSD Server – Redundant Backup.
https://vermaden.wordpress.com/2019/04/03/silent-fanless-freebsd-server-redundant-backup/

PostgreSQL Performance on Raspberry Pi.
https://blog.rustprooflabs.com/2019/04/postgrseql-pgbench-raspberry-pi

OPNsense 19.1.5 Released.
https://forum.opnsense.org/index.php?topic=12320.0

Blocking Ads Using unbound(8) on OpenBSD.
https://www.tumfatig.net/20190405/blocking-ads-using-unbound8-on-openbsd/

Building FFmpeg on Solaris 11.4 Using solaris-userland.
https://notallmicrosoft.blogspot.com/2019/04/building-ffmpeg-on-solaris-114-using.html

NetBSD Desktop Part 7 – Simple Performance Tweaks.
https://www.unitedbsd.com/d/43-netbsd-desktop-pt-7-simple-performance-tweaks

Installing Ghost on FreeBSD 11.1.
https://idontwatch.tv/installing-ghost-on-freebsd-11-1/

In Other BSDs for 2019/04/06.
https://www.dragonflydigest.com/2019/04/06/22736.html

Major Linux Problems on the Desktop – 2019 Edition.
https://itvision.altervista.org/why.linux.is.not.ready.for.the.desktop.current.html

TMUX Plugin tmux-battery adds support for OpenBSD apm.
https://github.com/tmux-plugins/tmux-battery/pull/77

Scripting FreeBSD Updates.
https://www.anserinae.net/scripting-freebsd-updates.html

Vagrant adds proper VirtualBox share folders support for FreeBSD guests.
https://github.com/hashicorp/vagrant/pull/10717

entr(1) – run arbitrary commands when files change.
http://eradman.com/entrproject/

Hardware

Story of the 3Dfx Voodoo 1.
http://fabiensanglard.net/3dfx_sst1/index.html

TSMC and OIP Ecosystem Partners Deliver Industry First Complete Design Infrastructure for 5nm Process Technology.
https://www.tsmc.com/tsmcdotcom/PRListingNewsAction.do?action=detail&newsid=THPGWQTHTH&language=E

Why AMD EPYC Rome 2P Will Have 128-160 PCIe Gen4 Lanes and a Bonus.
https://www.servethehome.com/why-amd-epyc-rome-2p-will-have-128-160-pcie-gen4-lanes-and-a-bonus/

How SolidRun aims to bridge ARM developer gap with 16-core workstation board.
https://www.techrepublic.com/article/how-solidrun-aims-to-bridge-the-arm-developer-gap-with-a-16-core-workstation-board/

Intel Xeon Platinum 9200 Formerly Cascade Lake-AP Launched.
Including 56-core 112-thread dual-die 400W Beast.
https://www.servethehome.com/intel-xeon-platinum-9200-formerly-cascade-lake-ap-launched/

Hard Drive Temperature – Does It Matter?
https://www.backblaze.com/blog/hard-drive-temperature-does-it-matter/

Why 2019 Foreshadows Per Socket Licenseageddon.
https://www.servethehome.com/2019-foreshadows-per-socket-licenseageddon/

Life

Ctrl-Alt-Delete: Planned Obsolescence of Old Coders.
https://onezero.medium.com/ctrl-alt-delete-the-planned-obsolescence-of-old-coders-9c5f440ee68

Privacy is Just the First Step – the Goal is Data Ownership.
https://thetoolsweneed.com/privacy-is-just-the-first-step-the-goal-is-data-ownership/

Picture shows anti ageing drugs really DO work.
https://www.dailymail.co.uk/health/article-6880899/Fascinating-picture-shows-anti-ageing-drugs-really-work.html

Second Order Thinking – What Smart People Use to Outperform.
https://fs.blog/2016/04/second-order-thinking/

Other

Introducing Warp – 1.1.1.1 – Fixing Mobile Internet Performance and Security – Better VPN.
https://blog.cloudflare.com/1111-warp-better-vpn/

I tried creating web browser and Google blocked me.
https://blog.samuelmaddock.com/posts/google-widevine-blocked-my-browser/

Facebook secretly lobbied in favor of Article 13 of undesired EU copyright directive.
http://hacknews.eu/2019/04/02/facebook-secretly-lobbied-in-favour-of-article-13-of-undesired-eu-copyright-directive/

Serenity: New (x86) UNIX-like Operating System.
https://www.osnews.com/story/129716/serenity-a-new-unix-like-operating-system/
https://github.com/awesomekling/serenity
https://youtu.be/hE52D-zbX3g

Microsoft announces it will shut down ebook program and confiscate its customers libraries.
https://boingboing.net/2019/04/02/burning-libraries.html

Real Open Source – User Mindset.
https://medium.com/@MartinCracauer/real-open-source-the-user-mindset-6c1c7bf4695b

EOF

Silent Fanless FreeBSD Server – Redundant Backup

I brought up this topic in the past. It was in the form of more theoretical Silent Fanless FreeBSD Desktop/Server post and more hands-on Silent Fanless FreeBSD Server – DIY Backup article.

One of the comments after the latter was that I compared non-redundant backup solution (single disk) to redundant backup in the cloud. Today – as this is my main backup system – I would like to show you redundant backup solution with two disks in ZFS mirror along with real power usage measurements. This time I got ASRock J3355B-ITX motherboard with only 10W TDP which includes 2-core Celeron J3355 2.0-2.5 GHz CPU and small shiny REALAN H80 Mini ITX case. It looks very nice and comes from AliExpress at very low $33 price for new unit along with free shipping.

Build

Here is how the REALAN H80 case looks like.

realan-H80-render

The ASRock J3355B-ITX motherboard.

asrock-J3355B-ITX.jpg

Same as with the earlier build the internal Seagate BarraCuda 5TB 2.5 SATA drives costs about $200. The same Seagate Backup Plus 5TB 2.5 disk in external case with USB 3.0 port costs nearly half of that price – only $120 – at least in the Europe/Poland location. I took the decision to buy external ones and rip off their cases. That saved me about $160.

Here is the simple performance benchmark of these 2.5 disks.

% which pv
pv: aliased to pv -t -r -a -b -W -B 1048576

% pv  /dev/null
1.35GiB 0:00:10 [ 137MiB/s] [ 137MiB/s]
^C

% dd  /dev/null bs=8M
127+0 records in
127+0 records out
1065353216 bytes transferred in 7.494081 secs (142159287 bytes/sec)
^C

About 135MB/s per disk.

The ripped of parts of Seagate Backup Plus USB cases.

external-case-parts.jpg

What made me laugh was that as I got different cases colors (silver and gray) the disks inside also had different colors (green and blue) :>

disks-bottom

… but their part number is the same, here they are mounted on a REALAN H80 disks holder.

disks-mounted

For the record – several REALAN H80 case real shots (not renders). First its front.

realan-H80-front

Back.

realan-H80-back.jpg

Side with USB port.

realan-H80-side-usb

Bottom.

realan-H80-bottom.jpg

Top.

realan-H80-top

Case parts.

realan-H80-parts.jpg

Generally the REALAN H80 looks really nice. Little lower REALAN H60 (without COM slots/holes in the back) looks even better but I wanted to make sure that I will have room and space for hot air in that case – as space was not a problem for me.

Cost

The complete price tops at $220 total. Here are the parts used.

PRICE  COMPONENT
  $49  CPU/Motherboard ASRock J3355B-ITX Mini-ITX
  $10  RAM 4GB DDR3
  $13  PSU 12V 7.5A 90W Pico (internal)
   $2  PSU 12V 2.5A 30W Leader Electronics (external)
  $33  Supermicro SC101i
   $3  SanDisk Fit 16GB USB 2.0 Drive (system)
 $120  Seagate 5TB 2.5 drive (ONE)
 $120  Seagate 5TB 2.5 drive (TWO)
 $350  TOTAL

That is $110 for the ‘system’ and additional $240 for ‘data’ drives.

Today I would probably get the ASRock N3150DC-ITX or Gigabyte GA-N3160TN motherboard instead because of builtin DC jack slot (compatible with 19V power adapter) on its back. This will eliminate the need for additional internal Pico PSU power supply …

The ASRock N3150DC-ITX with builtin DC jack.

asrock-N3150DC-ITX.jpg

The Gigabyte GA-N3160TN with builtin DC jack.

gigabyte-GA-N3160TN.jpg

The Gigabyte GA-N3160TN is also very low profile motherboard as you can see from the back.

gigabyte-GA-N3160TN-back-other.jpg

It may be good idea to use this one instead ASRock N3150DC-ITX to get more space above the motherboard.

Β 

PSU

As in the earlier Silent Fanless FreeBSD Server – DIY Backup article I used small 12V 2.5A 30W compact and cheap external PSU instead of the large 90W PSU from FSP Group. As these low power motherboard does not need a lot of power.

New Leader Electronics PSU label.

silent-backup-psu-ext-label.jpg

The internal power supply is Pico PSU which now tops as 12V 7.5A 90W power.

silent-backup-psu-pico-12V-90W.jpg

Power Consumption

I also measured the power consumption with power meter.

silent-backup-power-meter.jpg

The whole box with two Seagate BarraCuda 5TB 2.5 drives for data on ZFS mirror and SanDisk 16GB USB 2.0 system drive used about 10.4W in idle state.

I used all needed settings from my earlier The Power to Serve – FreeBSD Power Management article with CPU speed limited between 0.4GHz and 1.2GHz.

The powerd(8) settings in the /etc/rc.conf file are below.

powerd_flags="-n hiadaptive -a hiadaptive -b hiadaptive -m 400 -M 1200"

I used python(1) [1] to load the CPU and dd(8) to load the drives. I used dd(8) on the ZFS pool so 1 disk thread will read [2] and write [3] from/to both 2.5 disks. I temporary disabled LZ4 compression for the write tests.

[1] # echo '999999999999999999 ** 999999999999999999' | python
[2] # dd  /dev/null bs=1M
[3] # dd > /data/FILE < /dev/zero bs=1M
POWER   CPU LOAD         I/O LOAD
10.4 W  IDLE             IDLE
12.9 W  IDLE             1 DISK READ Thread(s)
14.3 W  IDLE             1 DISK READ Thread(s) + 1 DISK WRITE Thread(s)
17.2 W  IDLE             3 DISK READ Thread(s) + 3 DISK WRITE Thread(s)
11.0 W  8 CPU Thread(s)  IDLE
13.4 W  8 CPU Thread(s)  1 DISK READ Thread(s)
15.0 W  8 CPU Thread(s)  1 DISK READ Thread(s) + 1 DISK WRITE Thread(s)
17.8 W  8 CPU Thread(s)  3 DISK READ Thread(s) + 3 DISK WRITE Thread(s)

That’s not much remembering that 6W TDP power motherboard ASRock N3150B-ITX with just single Maxtor M3 4TB 2.5 USB 3.0 drive used 16.0W with CPU and I/O loaded. Only 1.8W more (on loaded system) with redundancy on two 2.5 disks.

Commands

The crypto FreeBSD kernel module was able to squeeze about 68MB/s of random data from /dev/random as this CPU has built in hardware AES-NI acceleration. Note to Linux users – the /dev/random and /dev/urandom are the same thing on FreeBSD. I used both dd(8) and pv(1) commands for this simple test. I made two tests with powerd(8) enabled and disabled to check the difference between CPU speed at 1.2GHz and at 2.5GHz with Turbo mode.

Full speed with Turbo enabled (note 2001 instead of 2000 for CPU frequency)..

# /etc/rc.d/powerd stop
Stopping powerd.
Waiting for PIDS: 1486.

% sysctl dev.cpu.0.freq
dev.cpu.0.freq: 2001

% which pv
pv: aliased to pv -t -r -a -b -W -B 1048576

% dd  /dev/null
1.91GiB 0:00:31 [68.7MiB/s] [68.1MiB/s]
265+0 records in
265+0 records out
2222981120 bytes transferred in 33.566154 secs (70226864 bytes/sec)
^C

CPU limited to 1.2GHz with powerd(8) daemon was able to squeeze about 24MB/s.

# service powerd start
Starting powerd.

% which pv
pv: aliased to pv -t -r -a -b -W -B 1048576

% dd  /dev/null
568MiB 0:00:23 [25.3MiB/s] [24.7MiB/s]
71+0 records in
71+0 records out
595591168 bytes transferred in 23.375588 secs (25479195 bytes/sec
^C

Below I will show you the data from dmesg(8) about the used USB and 2.5 drives.

The dmesg(8) information for the SanDisk Fit USB 2.0 16GB drive.

# grep da0 /var/run/dmesg.boot
da0 at umass-sim1 bus 1 scbus3 target 0 lun 0
da0:  Removable Direct Access SPC-4 SCSI device
da0: Serial Number 4C530002030502100093
da0: 400.000MB/s transfers
da0: 14663MB (30031250 512 byte sectors)
da0: quirks=0x2

… and two Seagate BarraCuda 5TB 2.5 drives.

# grep ada /var/run/dmesg.boot
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0:  ACS-3 ATA SATA 3.x device
ada0: Serial Number WCJ0DRJE
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 4769307MB (9767541168 512 byte sectors)
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1:  ACS-3 ATA SATA 3.x device
ada1: Serial Number WCJ0213S
ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 4769307MB (9767541168 512 byte sectors)

The whole /var/run/dmesg.boot content (without disks) is shown below.

# cat /var/run/dmesg.boot
Copyright (c) 1992-2018 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.2-RELEASE-p7 #0: Tue Dec 18 08:29:33 UTC 2018
    root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0)
VT(vga): resolution 640x480
CPU: Intel(R) Celeron(R) CPU J3355 @ 2.00GHz (1996.88-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x506c9  Family=0x6  Model=0x5c  Stepping=9
  Features=0xbfebfbff
  Features2=0x4ff8ebbf
  AMD Features=0x2c100800
  AMD Features2=0x101
  Structured Extended Features=0x2294e283
  XSAVE Features=0xf
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr
  TSC: P-state invariant, performance statistics
real memory  = 4294967296 (4096 MB)
avail memory = 3700518912 (3529 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: 
WARNING: L1 data cache covers less APIC IDs than a core
0 < 1
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
ioapic0  irqs 0-119 on motherboard
SMP: AP CPU #1 Launched!
Timecounter "TSC" frequency 1996877678 Hz quality 1000
random: entropy device external interface
kbd1 at kbdmux0
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0xffffffff80ff4580, 0) error 19
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
nexus0
vtvga0:  on motherboard
cryptosoft0:  on motherboard
acpi0:  on motherboard
unknown: I/O range not supported
cpu0:  on acpi0
cpu1:  on acpi0
attimer0:  port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0:  port 0x70-0x77 on acpi0
atrtc0: Warning: Couldn't map I/O.
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
hpet0:  iomem 0xfed00000-0xfed003ff irq 8 on acpi0
Timecounter "HPET" frequency 19200000 Hz quality 950
Event timer "HPET" frequency 19200000 Hz quality 550
Event timer "HPET1" frequency 19200000 Hz quality 440
Event timer "HPET2" frequency 19200000 Hz quality 440
Event timer "HPET3" frequency 19200000 Hz quality 440
Event timer "HPET4" frequency 19200000 Hz quality 440
Event timer "HPET5" frequency 19200000 Hz quality 440
Event timer "HPET6" frequency 19200000 Hz quality 440
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0:  port 0x408-0x40b on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
vgapci0:  port 0xf000-0xf03f mem 0x90000000-0x90ffffff,0x80000000-0x8fffffff irq 19 at device 2.0 on pci0
vgapci0: Boot video device
hdac0:  mem 0x91210000-0x91213fff,0x91000000-0x910fffff irq 25 at device 14.0 on pci0
pci0:  at device 15.0 (no driver attached)
ahci0:  port 0xf090-0xf097,0xf080-0xf083,0xf060-0xf07f mem 0x91214000-0x91215fff,0x91218000-0x912180ff,0x91217000-0x912177ff irq 19 at device 18.0 on pci0
ahci0: AHCI v1.31 with 2 6Gbps ports, Port Multiplier supported
ahcich0:  at channel 0 on ahci0
ahcich1:  at channel 1 on ahci0
pcib1:  irq 22 at device 19.0 on pci0
pci1:  on pcib1
pcib2:  irq 20 at device 19.2 on pci0
pci2:  on pcib2
re0:  port 0xe000-0xe0ff mem 0x91104000-0x91104fff,0x91100000-0x91103fff irq 20 at device 0.0 on pci2
re0: Using 1 MSI-X message
re0: Chip rev. 0x4c000000
re0: MAC rev. 0x00000000
miibus0:  on re0
rgephy0:  PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: 70:85:c2:3f:53:41
re0: netmap queues/slots: TX 1/256, RX 1/256
xhci0:  mem 0x91200000-0x9120ffff irq 17 at device 21.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
isab0:  at device 31.0 on pci0
isa0:  on isab0
acpi_button0:  on acpi0
acpi_tz0:  on acpi0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: cannot reserve I/O port range
est0:  on cpu0
est1:  on cpu1
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
hdacc0:  at cad 0 on hdac0
hdaa0:  at nid 1 on hdacc0
ugen0.1:  at usbus0
uhub0:  on usbus0
pcm0:  at nid 21 and 24,26 on hdaa0
pcm1:  at nid 20 and 25 on hdaa0
pcm2:  at nid 27 on hdaa0
hdacc1:  at cad 2 on hdac0
hdaa1:  at nid 1 on hdacc1
pcm3:  at nid 3 on hdaa1
uhub0: 15 ports with 15 removable, self powered
ugen0.2:  at usbus0
uhub1 on uhub0
uhub1:  on usbus0
uhub1: 4 ports with 4 removable, self powered
Trying to mount root from zfs:zroot/ROOT/default []...
random: unblocking device.
re0: link state changed to DOWN

ZFS Pool Configuration

To get higher LZ4 compression ratio I use larger blocksize (1MB) on this ZFS mirror pool. Here is the ZFS pool status.

% zpool status data
  pool: data
 state: ONLINE
  scan: scrub repaired 0 in 44h14m with 0 errors on Mon Feb 11 07:13:42 2019
config:

        NAME                STATE     READ WRITE CKSUM
        data                ONLINE       0     0     0
          mirror-0          ONLINE       0     0     0
            label/WCJ0213S  ONLINE       0     0     0
            label/WCJ0DRJE  ONLINE       0     0     0

errors: No known data errors

I get 4% compression (1.04x) on that ZFS pool. Its about 80% filled with lots of movies and photos so while such compression ratio may not be great it gives a lot of space. For example 4% of 4TB of data is about 160GB of ‘free’ space.

% zfs get compressratio data
NAME                                    PROPERTY       VALUE  SOURCE
data                                    compressratio  1.04x  -

Here is the ZFS pool configuration.

# zpool history
History for 'data':
2018-11-12.01:18:33 zpool create data mirror /dev/label/WCJ0229Z /dev/label/WCJ0DPHF
2018-11-12.01:19:11 zfs set mountpoint=none data
2018-11-12.01:19:16 zfs set compression=lz4 data
2018-11-12.01:19:21 zfs set atime=off data
2018-11-12.01:19:34 zfs set primarycache=metadata data
2018-11-12.01:19:40 zfs set secondarycache=metadata data
2018-11-12.01:19:45 zfs set redundant_metadata=most data
2018-11-12.01:19:51 zfs set recordsize=1m data
(...)

We do not need redundant_metadata as we already have two disks, its useful only on single disks configurations.

Self Solution Cost

As in the earlier post I will again calculate how much energy this server would consume. Currently 1kWh of power costs about $0.20 in Europe/Poland (rounded up). This means that running computer with 1000W power usage for 1 hour would cost you $0.20 on electricity bill. This system uses 10.4W idle and 12.9W when single disk read occurs. For most of the time server will be idle so I assume 11.0W average for the pricing purposes.

That would cost us $0.0022 for 11.0W device running for 1 hour.

Below you will also find calculations for 1 day (24x multiplier), 1 year (another 365.25x multiplier) and 3 years (another 3x multiplier).

   COST  TIME
$0.0022  1 HOUR(S)
$0.0528  1 DAY(S)
$19.285  1 YEAR(S)
$57.856  3 YEAR(S)
$96.426  5 YEAR(S)

Combining that with server cost ($350) we get TCO for our self hosted 5TB storage service.

   COST  TIME
$369.29  1 YEAR(S)
$407.86  3 YEAR(S)
$446.43  5 YEAR(S)

Our total 3 years TCO is $407.86 and 5 years is $446.43. Its for running system non-stop. We can also implement features like Wake On LAN to limit that power usage even more.

Cloud Storage Prices

This time after searching for cheapest cloud based storage I found these services.

  • Amazon Drive
  • Amazon S3 Glacier Storage
  • Backblaze B2 Cloud Storage
  • Google One

Here is its cost summarized for 1 year period for 5TB of data.

PRICE  TIME       SERVICE
 $300  1 YEAR(S)  Amazon Drive
 $310  1 YEAR(S)  Google One
 $240  1 YEAR(S)  Amazon S3 Glacier Storage
 $450  1 YEAR(S)  Backblaze B2 Cloud Storage

For the Backblaze B2 Cloud Storage I assumed average between upload/download price because upload is two times cheaper then download.

Here is its cost summarized for 3 year period for 5TB of data.

PRICE  TIME       SERVICE
 $900  3 YEAR(S)  Amazon Drive
 $930  3 YEAR(S)  Google One
 $720  3 YEAR(S)  Amazon S3 Glacier Storage
$1350  3 YEAR(S)  Backblaze B2 Cloud Storage

Here is its cost summarized for 5 year period for 5TB of data.

PRICE  TIME       SERVICE
$1500  5 YEAR(S)  Amazon Drive
$1550  5 YEAR(S)  Google One
$1200  5 YEAR(S)  Amazon S3 Glacier Storage
$2250  5 YEAR(S)  Backblaze B2 Cloud Storage

Now lets compare costs of our own server to various cloud services.

If we would run our server for just 1 year the price will be similar.

PRICE  TIME       SERVICE
 $369  1 YEAR(S)  Self Build NAS
 $300  1 YEAR(S)  Amazon Drive
 $310  1 YEAR(S)  Google One
 $240  1 YEAR(S)  Amazon S3 Glacier Storage
 $450  1 YEAR(S)  Backblaze B2 Cloud Storage

It gets interesting when we compare 3 years costs. Its two times cheaper to self host our own server then use cloud services. One may argue that clouds are located in many places but even if we would buy two such boxes and put one – for example in our friends place at Jamaica – or other parts of the world.

PRICE  TIME       SERVICE
 $408  3 YEAR(S)  Self Build NAS
 $528  3 YEAR(S)  Self Build NAS (assuming one of the drives failed)
 $900  3 YEAR(S)  Amazon Drive
 $930  3 YEAR(S)  Google One
 $720  3 YEAR(S)  Amazon S3 Glacier Storage
$1350  3 YEAR(S)  Backblaze B2 Cloud Storage

… but with 5 years using cloud service instead of self hosted NAS solution is 3-5 times more expensive … and these were the cheapest cloud services I was able to find. I do not even want to know how much would it cos on Dropbox for example πŸ™‚

PRICE  TIME       SERVICE
 $447  5 YEAR(S)  Self Build NAS
 $567  5 YEAR(S)  Self Build NAS (assuming one of the drives failed)
$1500  5 YEAR(S)  Amazon Drive
$1550  5 YEAR(S)  Google One
$1200  5 YEAR(S)  Amazon S3 Glacier Storage
$2250  5 YEAR(S)  Backblaze B2 Cloud Storage

… and ‘anywhere’ access is not an argument for cloud services because you can get external IP address for you NAS or use Dynamic DNS – for free. You may also wonder why I compare such ‘full featured NAS’ with S3 storage … well with rclone (rsync for cloud storage) you are able to synchronize your files with almost anything πŸ™‚

Not to mention how much more privacy you have with keeping all your data to yourself … but that is priceless.

You can also setup a lot more services on such hardware – like FreeNAS with Bhyve/Jails virtualization … or Nextcloud instance … or Syncthing … while cloud storage is only that – a storage in the cloud.

Summary

Not sure what else could I include in this article. If you have an idea what else could I cover then let me know.

EOF

Β 

Valuable News – 2019/04/01

The Valuable News weekly series is dedicated to provide summary about news, articles and other interesting stuff mostly but not always related to the UNIX or BSD systems. Whenever I stumble upon something worth mentioning on the Internet I just put it here.

Today the amount information that we get using various information streams is at massive overload. Thus one needs to focus only on what is important without the need to grep(1) the Internet everyday. Hence the idea of providing such information ‘bulk’ as I already do that grep(1).

UNIX

Solaris – Network Configuration in SMF.
http://blog.moellenkamp.org/archives/57-Network-configuration-in-SMF.html

FreeBSD Mastery: Jails.
https://mwl.io/nonfiction/os#fmjail

Security Hole on OpenBSD in VMD/VMM.
https://twitter.com/m00nbsd/status/1109208948429725697

FreeBSD 11.3-RELEASE to be released on 2019/07/09.
https://www.freebsd.org/releases/11.3R/schedule.html

Coder’s Bookshelf Humble Book Bundle.
https://www.humblebundle.com/books/coders-bookshelf-books
https://twitter.com/nostarch/status/1110240392363024384

FreeBSD nsysctl Tutorial.
https://alfix.gitlab.io/bsd/2019/02/19/nsysctl-tutorial.html

FreeBSD deskutils/sysctlview Updated to 1.0.
https://gitlab.com/alfix/sysctlview
https://twitter.com/alfsiciliano/status/1111469513516728320
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236866

OpenBSD in Stereo with Linux VFIO.
https://jcs.org/2018/11/12/vfio

Let’s Encrypt with Dehydrated on FreeBSD.
https://chargen.one/high5/lets-encrypt-with-dehydrated-on-freebsd

DTrace QuickStart.
http://www.tablespace.net/quicksheet/dtrace-quickstart.html

Sun Microsystems Business Plan.
https://www.khoslaventures.com/wp-content/uploads/SunMicrosystem_bus_plan.pdf

The ping.gg – world’s simplest monitoring service.
https://ping.gg/

FreeBSD 12.0 VNET Jail Using bridge/epair and PF.
https://yom.iaelu.net/2019/03/freebsd-12-vnet-jail-using-bridge-epair-and-pf.html

Illumos Port of wireguard-go.
https://github.com/jclulow/wireguard-go-illumos-wip

The tilde.institute of OpenBSD Education.
https://tilde.institute/

OpenBSD on CloudSigma – Easy Installation with Wizard Menu.
https://dev.to/nabbisen/openbsd-on-cloudsigma—wizards-easy-installation-4k91

Obtaining Active-Passive ProxySQL on FreeBSD.
https://blog.pythian.com/obtaining-an-active-passive-proxysql-on-freebsd/

Stupid ZFS Tricks – Expanding RAIDZ.
https://medium.com/@MartinCracauer/stupid-zfs-tricks-expanding-zraid-79e716d41fad

SoloBSD 19.03-STABLE based on HardenedBSD 1200058.4 Available.
https://www.solobsd.org/index.php/2019/03/26/solobsd-19-03-stable/
https://github.com/HardenedBSD/hardenedBSD-stable/releases/tag/HardenedBSD-12-STABLE-v1200058.4

OpenBSD as Full Featured NAS.
https://www.vincentdelft.be/static/post/post_20190203/openbsd-as-nas.pdf

BSD Now 291 – Storage Changes Software.
https://www.bsdnow.tv/291

FreeNAS 11.2-U3 Available.
https://www.ixsystems.com/blog/library/freenas-11-2-u3/

Goal Services in SMF on Solaris 11.4.
http://blog.moellenkamp.org/archives/59-Goal-services-in-Solaris-11.4.html

FreeBSD Status Report 2018 Q4 is Available.
https://www.freebsd.org/news/status/report-2018-09-2018-12.html

Quake 1 and Quake 2 for … IBM AIX.
https://twitter.com/astr0baby/status/1112100008818548736
ftp://ftp.software.ibm.com/aix/freeSoftware/games/

How to Use NetBSD on Raspberry Pi.
https://opensource.com/article/19/3/netbsd-raspberry-pi

Using OpenBSD Router with AT&T U-Verse.
https://jcs.org/2019/03/21/uverse

How I Created My First FreeBSD Port.
https://aikchar.dev/blog/how-i-created-my-first-freebsd-port.html

Interim Support Guarantee for FreeBSD 12.
https://lists.freebsd.org/pipermail/freebsd-announce/2019-April/001872.html

Hardware

Pinebook – The $100 Laptop.
The $100 Laptop!

Life

How to Deliver Constructive Feedback in Difficult Situations.
https://medium.dave-bailey.com/the-essential-guide-to-difficult-conversations-41f736e63ccf

Other

Oracle Swings Axe on Cloud Infrastructure Corps Amid Possible Bloodbath at Big Red.
https://www.theregister.co.uk/2019/03/25/oracle_headcount_cut/

IBM purged ‘grey hairs’ and ‘old heads’ as it launched ‘Millennial Corps’ – lawsuit.
https://www.mercurynews.com/2019/03/27/ibm-purged-gray-hairs-and-old-heads-as-it-launched-millennial-corps-lawsuit/

FreeCS is free reimplementation of Counter-Strike 1.5 game.
https://sourceforge.net/projects/freecs-1-5/files/
https://www.phoronix.com/scan.php?page=news_item&px=FreeCS-Open-Counter-Strike

Open Source Game Clones.
https://osgameclones.com/

EOF

Valuable News – 2019/03/25

The Valuable News weekly series is dedicated to provide summary about news, articles and other interesting stuff mostly but not always related to the UNIX or BSD systems. Whenever I stumble upon something worth mentioning on the Internet I just put it here.

Today the amount information that we get using various information streams is at massive overload. Thus one needs to focus only on what is important without the need to grep(1) the Internet everyday. Hence the idea of providing such information ‘bulk’ as I already do that grep(1).

UNIX

OmniOS Community Edition r151028t/r151026at/r151022cr Available.
https://omniosce.org/article/028t-026at-022cr

Ghost in the Shell – Part 4.
https://vermaden.wordpress.com/2019/03/15/ghost-in-the-shell-part-4/

MATE 1.22 Released.
https://mate-desktop.org/blog/2019-03-18-mate-1-22-released/

LPAR2RRD 6.02 Available.
https://www.lpar2rrd.com/note600.htm?4.6.23

FreeBSD Desktop – Part 18 – Global Dashboard.
https://vermaden.wordpress.com/2019/03/20/freebsd-desktop-part-18-global-dashboard/

PuTTY 0.71 Released.
https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html

One click install and deploy FreeBSD.
https://www.digitalocean.com/products/linux-distribution/freebsd/

LLVM 8.0.0 Released.
https://lists.llvm.org/pipermail/llvm-announce/2019-March/000082.html

FreeBSD adds NVMe support to arm64 GENERIC kernel.
https://svnweb.freebsd.org/base?view=revision&revision=345408

BSD Now 290 – Timestamped Notes.
https://www.bsdnow.tv/290

OpenRsync is a FREE easy to use implementation of the rsync program.
https://www.openrsync.org/

In Other BSDs for 2019/03/23.
https://www.dragonflydigest.com/2019/03/23/22671.html

Oracle kills @OracleSPARC and @OracleSolaris Twitter accounts. Follow @SolarisUpdate instead.
https://twitter.com/OracleSolaris/status/1109099516291100673
https://twitter.com/OracleSPARC/status/1109103107647201280
https://twitter.com/SolarisUpdate

Fix Broken Dependency on FreeBSD.
https://vermaden.wordpress.com/2019/03/21/fix-broken-dependency-on-freebsd/

ZFS Encryption is still under development (as of March 2019).
On FreeBSD just use GELI encrypted setup for now.
https://utcc.utoronto.ca/~cks/space/blog/linux/ZFSEncryptionNotReady

OpenBSD adds audio on both speakers on Huawei Matebook X.
https://marc.info/?l=openbsd-cvs&m=155343827506953&w=2

Using Syncthing between OS X Laptop and FreeBSD Server.
https://dan.langille.org/2019/03/24/using-syncthing-between-my-osx-laptop-and-my-freebsd-server/

Developing WireGuard for NetBSD.
https://github.com/ozaki-r/netbsd-src/tree/wireguard

Curseradio – Command Line Radio Player.
https://github.com/chronitis/curseradio

Pretty PuTTY – Make PuTTY pretty and apply modern PuTTY settings.
https://github.com/jacktrocinski/pretty-putty

CBSD Got cloud-init Support.
https://www.bsdstore.ru/en/12.0.x/wf_bhyve_cloudinit_ssi.html

The zrepl 0.1.0-rc4 Available.
https://github.com/zrepl/zrepl/releases/tag/v0.1.0-rc4

FreeBSD bhyve got Snapshot Save and Restore Feature.
https://reviews.freebsd.org/D19495

OpenBSD RAID 10 Howto.
https://pluspora.com/posts/143322f02e8901370384005056264835

Hardware

AMD is Free from SPOILER security exploit.
https://www.amd.com/en/support/kb/faq/pa-240

Exclusive Look at Original Apple Red iPhone M68 Prototype.
https://www.theverge.com/2019/3/19/18263844/apple-iphone-prototype-m68-original-development-board-red

Creating Illumos Packages for Tribblix.
https://ptribble.blogspot.com/2019/03/creating-illumos-packages-for-tribblix.html

BSD Router Project 1.92 Available.
Router distribution based on FreeBSD with FFRouting and Bird.
https://sourceforge.net/projects/bsdrp/files/BSD_Router_Project/1.92/

Nginx Quick Reference.
These notes describes how to improve Nginx performance security and other important things.
https://github.com/trimstray/nginx-quick-reference

Life

Even tech workers can’t afford to buy homes in San Francisco.
https://www.recode.net/2019/3/19/18256378/tech-worker-afford-buy-homes-san-francisco-facebook-google-uber-lyft-housing-crisis-programmers

Why is it always Polish women and foreign men, not the other way around?
http://streetwise.pl/2018/07/13/why-is-it-always-polish-women-and-foreign-men-not-the-other-way-around/

Other

Firefox 66.0 Released.
https://www.mozilla.org/en-US/firefox/66.0/releasenotes/

Firefox Aims to Reduce Your Online Annoyances.
https://blog.mozilla.org/blog/2019/03/19/todays-firefox-aims-to-reduce-your-online-annoyances/

Google Announces Stadia – Game Streaming Service.
https://www.anandtech.com/show/14105/google-announces-stadia-a-game-streaming-service

Google hit with €1.5 billion fine from EU over advertising.
https://www.bbc.com/news/business-47639228

Oracle Swings the Layoff Axe and Clear Cuts Teams of Engineers.
https://spectrum.ieee.org/view-from-the-valley/at-work/tech-careers/oracle-swings-the-layoff-axe-and-clearcuts-teams-of-engineers

Oracle Quietly Held Round of Layoffs This Week.
https://www.businessinsider.com/oracle-layoffs-2019-3?IR=T

JavaScript Free Frontend.
https://dev.to/winduptoy/a-javascript-free-frontend-2d3e

EOF

Valuable News – 2019/03/11

The Valuable News weekly series is dedicated to provide summary about news, articles and other interesting stuff mostly but not always related to the UNIX or BSD systems. Whenever I stumble upon something worth mentioning on the Internet I just put it here so someone else can

Today the amount information that we get using various information streams is at massive overload. Thus one needs to focus only on what is important without the need to grep(1) the Internet everyday. Hence the idea of providing such information ‘bulk’ as I already do that grep(1).

UNIX

Restic and Backblaze B2 for Backups.
https://harshadsharma.com/2018/04/restic-and-backblaze-b2-for-backups

Support for Marvell Armada 38x added to FreeBSD.
https://lists.freebsd.org/pipermail/freebsd-arm/2017-June/016314.html

Increasing coverage of signal semantics in regression tests on NetBSD.
https://blog.netbsd.org/tnf/entry/increasing_coverage_of_signal_semantics

Creating Zones from Images on Tribblix.
https://ptribble.blogspot.com/2018/06/tribblix-creating-zones-from-images.html

Solaris 11.4 – Periodic Scrubs of ZFS Filesystems.
http://blog.moellenkamp.org/archives/37-Periodic-scrubs-of-ZFS-filesystems.html

Spacewalk for Linux Management – Part 1 – Guide for Uninitiated.
https://medium.com/@glmdev/spacewalk-for-linux-management-2701ac34df4a

Spacewalk for Linux Management – Part 2 – Setting Up Spacewalk Channels.
https://medium.com/@glmdev/setting-up-spacewalk-channels-f1db33a4e2a

FreeBSD upgrades Clang/LLVM compiler to 8.0.
https://svnweb.freebsd.org/base?view=revision&revision=344779

ReactOS 0.4.11 Released.
https://www.reactos.org/project-news/reactos-0411-released

FreeBSD on ThinkPad X280.
https://adminblog.foucry.net/2019/03/05/FreeBSD-ThinkPad/#englishversion

FreeBSD implements minidump support for RISC-V.
https://svnweb.freebsd.org/base?view=revision&revision=344830

SMoTherSpectre: transient execution attacks through port contention.
More security attacks based on SMT (Hyper Threading)
https://nebelwelt.net/blog/20190306-SMoTherSpectre.html

SPOILER: Speculative Load Hazards Boost Rowhammer and Cache Attacks.
All Intel Core CPUs are vulnerable. AMD and ARM Chips are Secure.
https://arxiv.org/pdf/1903.00446.pdf

BSD Now 288 – Turing Complete Sed.
https://www.bsdnow.tv/288

In Other BSDs for 2019/03/09.
https://www.dragonflydigest.com/2019/03/09/22620.html

FreeBSD Journal 2019 January/February.
http://cdn.coverstand.com/33057/571964/0954264cc0879c4080609529d858340492e14096.2.pdf
https://www.freebsdfoundation.org/past-issues/getting-started-with-freebsd/

Writing a Book with Unix.
https://joecmarshall.com/posts/book-writing-environment/

FreeBSD adds separate aggregation limit for non-rotating media for ZFS.
https://svnweb.freebsd.org/base?view=revision&revision=344934

The mandoc 1.14.5 Released.
https://undeadly.org/cgi?action=article;sid=20190310175719

ZFS by Josh Bicking (@jibby0) about ZFS history/terminology/basics.
https://ritlug.com/talks/2019/03/07/w8-zfs/
blob:https://mozilla.github.io/ea5095f4-a7e1-461b-a496-f22893b4f95f

FreeBSD bhyve – Snapshot Save and Restore.
https://reviews.freebsd.org/D19495

FreeBSD ACPI fix for HP (and possibly ASUS/Toshiba/Dell/other laptops) that fixes suspend/resume/poweroff.
https://twitter.com/FreeBSDHelp/status/1104926425126068224
https://svnweb.freebsd.org/base?view=revision&revision=344982

Hardware

Thunderbolt 3 becomes USB 4 as Intel interconnect goes royalty-free.
https://www.osnews.com/story/129551/thunderbolt-3-becomes-usb4-as-intels-interconnect-goes-royalty-free/

USB4 Specification Announced – 40 Gbps – Type-C – Thunderbird 3 Support.
https://www.anandtech.com/show/14048/usb4-specification-40-gbps-type-c-tb3

Can Supermicro rule the gaming and desktop motherboard markets?
https://www.kitguru.net/tech-news/andrzej/can-supermicro-rule-the-gaming-and-desktop-motherboard-markets/

Supermicro M11SDV-4CT-LN4F Review Low-Cost AMD EPYC 3101.
https://www.servethehome.com/supermicro-m11sdv-4ct-ln4f-review-low-cost-amd-epyc-3101/

Life

Birmingham school stops LGBT lessons after parents protest.
https://www.theguardian.com/education/2019/mar/04/birmingham-school-stops-lgbt-lessons-after-parent-protests

How to speak like a leader, not like an engineer?
https://news.ycombinator.com/item?id=19349676

Other

CNCF Survey – Use of Cloud Native Technologies in Production Has Grown Over 200%.
https://www.cncf.io/blog/2018/08/29/cncf-survey-use-of-cloud-native-technologies-in-production-has-grown-over-200-percent/

Windows 10 Decrapifier – 1803/1809.
https://community.spiceworks.com/scripts/show/4378-windows-10-decrapifier-1803-1809

Windows 10 Decrapifier – 1709.
https://community.spiceworks.com/scripts/show/3977-windows-10-decrapifier-1709

Serious Chrome Zero Day – Google Says Update ‘Now’.
Serious Chrome zero-day – Google says update “right this minute”

EOF