Memory slabs are used by Linux kernel to manage memory for kernel objects. The objects are e.g dentry, inodes, and buffer heads Why to Know About Slabs If you don’t understand about missing usage info of cached memory objects. The system is low on memory and top & free are not enough. Design of Slab … More Linux Memory Management: Slabs
I wrote a file system that can mimic standard calls (open, close). Please enhance and also share bugs, if any 🙂 Github Link https://github.com/vishalkanaujia/dev-tools/tree/master/file-system-in-a-file
Kernel version 3.13, Ubuntu 14.04 $ uname -a Linux ubuntu 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux We need two changes: User space Locate the file “netlink.h” $ sudo locate “netlink.h” You would get the header file at “/usr/include/linux/netlink.h” Add the new family #define NETLINK_MY 17 Keep … More Netlink Sockets: Addind a new socket family
In this post, I will cover FUSE internals for FUSE 2.9.3. Install package fuse and fuse-devel on CentOS. getattr() is a must in a FUSE file-system. Any lame implementation is okay; Just be careful of the file size in stat structure. If you forgot to compile user file system with 64-bit flags on. Otherwise the … More Linux FUSE Internals for developers
If you want to install pylucene automatically, try Synaptic package manager or apt-get. This installation gives you Pylucene2.3. This is old. If you wish to get the latest pylucene 3.6 or higher, please look for manual installation discussed in this post. Automatic installation (pylucene 2.3) Install everything mentioned here sudo apt-get install pylucene sudo apt-get … More Pylucene: Installation on Ubuntu
Wubi is a cool alternative to VMPlayer and VirtualBox to run Ubuntu “almost” natively on your Windows system. It gives you a dual boot machine without partitioning your filesystem. How to do it • Install Wubi • Plave your Ubuntu ISO in the _same_ place where your Wubi binaries are • Install Ubuntu from Wubi … More Ubuntu on a Windows host: Alternative to VirtualBox and VMWare
I am using Ubuntu 11.04 as a VM hosted on a Windows machine. I suspend the Ubuntu VM most of the times to resume my work later. Of late, I observed that VM was performing very slow. I checked the CPU consumption behavior and found that a process “telepathy-logger” was using 100% of CPU! After … More Having slow Ubuntu 11.04?