Home Network Improvement
Yesterday, after taking my display monitor back to home. I considered to give my home network environment a polishing.
There are two things I want to improve:
Setting a local network proxy server, so all my devices could use it.I will not need add client proxy ability to all my network device. The build-in NAS of my router don’t have good performance and some time it even make my whole local network slow. So I want setup a specific NAS server.
Half a year ago I have bought an Intel NUC mini pc server, for two reason I installed a Windows OS in it. The main reason was the NUC attached with a Optane memory stick, back then Optane memory can’t work normally in Linux environment. The second reason was I had guessed Docker container could work in Windows OS as better as Linux and Mac environment.
But the windows as docker server experience can’t be called good. Not only some crucial docker function can’t work on windows (eg: container auto start), the performance even bad than running docker in a Linux virtual machine. I don’t know if Docker Inc or Microsoft should be blamed as they have officially announced Docker for Windows should be “fast and reliable performance with native Windows Hyper V virtualization”.
So I was considering to switch the NUC mini server back to Linux. At the moment, I found a Linux hardware blog post written:
“With the updated BIOS on this Kabylake motherboard, the Intel 16GB Optane memory worked just fine. When booting up a USB installation of Ubuntu 17.04 x86_64, the Intel Optane 16GB device was detected right away as an NVMe block device.”
According to the performance character, the Optane memory should be good choice of swap space in Linux system or storage some hot data (cache or busy database file).
Everything seems toward right direction. After upgrading the BIOS of my NUC box and the LInux system. I can see the Optane memory in fdisk command and successfully mount it as swap space.
My next step was to setup a Docker container based Proxy server. I would record the process in a more technology way in my next blog post.