CFQ vs Deadline – performance benefits
Running CPanel and wondering what would be the best for web hosting? deadline is more balanced over CFQ right so would allow for more I/O activities right Asked by Julia Roberts Yes. The CFQ algorithm...
View ArticleWhich partition is my OS installed on?
I want to know which partition OS installed on my server. Below is the fdisk and df command outputs from my server. [root@ ~]# fdisk -l Disk /dev/sda: 2000.3 GB, 2000398934016 bytes 255 heads, 63...
View ArticleCopy past speed very slow for a large number of files on Windows
I’ve run the following test I’ve created a folder containing 15’000 files of 400 bytes using this batch : @ECHO off SET times=15000FOR /L %%i IN (1,1,%times%) DO ( fsutil file createnew...
View ArticlePerformance impact of running different filesystems on a single Linux server
The book “HBase: The definitive guide” states that Installing different filesystems on a single server is not recommended. This can have adverse effects on performance as the kernel may have to split...
View ArticleMaking SD card corruption-proof
My embedded linux device uses an SD card for saving certain diagnostics data, far too copious for internal flash. The problem is if the device is switched off unexpectedly, the filesystem (FAT32) on...
View Article/dev/* permission
I accidentally sudo chmod 666 /dev/*. And now many devices in my computer messed up. I have fixed some of them like /dev/shm, /dev/snd but I am not sure about the rest. What’s the correct permission...
View ArticleIs looking up a filename in a directory of 20,000 items as efficient as...
I’m trying to decide between storing some XML data either under uniquely identified file paths on a Linux filesystem, or in text columns in a database table. All other things being equal, is access...
View ArticleThe XFS filesystem is broken in RHEL/CentOS 6.x – What can I do about it?
Recent versions of RHEL/CentOS (EL6) brought some interesting changes to the XFS filesystem I’ve depended on heavily for over a decade. I spent part of last summer chasing down an XFS sparse file...
View ArticleWhat does zfs receive -F do?
When I read man zfs for zfs receive I see -F Force a rollback of the file system to the most recent snap- shot before performing the receive operation. If receiving an incremental replication stream...
View Articleis there such a thing as a ‘quick’ format for ext4?
in Windows it’s very fast to format with NTFS. I have a low powered Linux machine, with little RAM. formatting a 2TB volume to ext4 takes a long long time is there anything I can do to speed up the...
View Article