Categories
Filesystem Kernel Linux Performance

Filesystem speeds

The tests were done on a Quad-Core i5 system, using a 24 GB RAM disk (32 GB RAM total). System is Ubuntu 20.04 (x86_64). Basic test were done using fio with variations of this command: The different benchmark scenarios are these: Create filesystem on RAM disk, create big test file, run fio. And the same […]

Categories
Linux

sssd and Samba Active Directory

Ever wondered how to join an Linux PC to your Active Directory (or even better to your Samba relative)? That’s exactly what this article is about. But first of all some words about what components we need to involve: As a first step we need to install the required packages: First of all we need […]

Categories
Encryption Kernel Linux Performance

Linux dm-crypt Performance – Kernel 5.9+

Update 11.12.2021: Finally got a new test machine and started re-evaluating the current situation. The tests were done on a Quad-Core i5 system, using a 24 GB RAM disk (32 GB RAM total). System is Ubuntu 20.04 (x86_64). Basic test were done using fio with variations of this command: The different benchmark scenarios are these: […]

Categories
Linux

Using Kindle’s ePaper

Since I didn’t use my kindle (very often I was looking for an alternative use case for it. However to make this device usable for other purposes than the intended ones it had to be jailbreaked. Documentation about this process can be found here:Jailbreak, Tools (Snapshots) My device was identified as “Kindle PaperWhite 3 (2015) […]

Categories
Linux

NFS version 3 and 4 compared

There have been quite some changes between versions 3 and 4 of the NFS protocol. From an administrator’s perspective, the following changes were introduced: User / group id mapping:Version 3 and below used a numeric user / group id based mapping: so a user with user id 1000 on the client was mapped to a […]

Categories
Linux

Live streaming webcam using ffmpeg

First of all we need to list available Video4Linux devices: Followed by their capabilities. This can be done either using v4l2-ctl or with the converter tool ffmpeg itself: Next step: Generate DASH and HLS compatible stream. HLS was created by Apple and is used on their devices – DASH however seems to be the more […]

Categories
Encryption Linux Performance

Linux dm-crypt Performance Improved

I recently installed a new home NAS server. For data protection all disks should be encrypted using dm-crypt. However performance was far from what I expected. After searching some time I found the reason (and a proposed solution) in a very interesting article of Ignat Korchagin (also a video talk about this topic is available […]

Categories
Encryption Kernel Linux Performance

Linux dm-crypt Performance – Modifications

Building kernel modules To build the kernel modules we first need to install the kernel sources matching the latest kernel. So first we download and install the required packages: And now prepare a kernel source tree for compilation: Now we should have the very same source tree that build our currently running kernel (well at […]

Categories
Encryption Kernel Linux Performance

Linux dm-crypt Performance – Theory

Interested in how performance estimates can be done and what’s the theory behind it? You’re lucky: Here we go. As a start we need some numbers to work with. We got them here by doing some benchmarks with a RAM disk and the Linux cryptsetup tool. Both tests report the maximum possible performance of each […]

Categories
Linux Remote Desktop

ogon – RDP for Linux

There are some solutions for remote desktop access on Linux: Nomachine NX, x2go, VNC to name but a few. However there are other solutions that are much less known: One of them is ogon. Ogon allows access to Linux desktops using Microsoft’s Remote Desktop Protocol (RDP). One of the biggest problems with ogon is the […]