Category: linux

Linux Memory Management: Slabs

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 & […]

Netlink Sockets: Addind a new socket family

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 […]

Pylucene: Installation on Ubuntu

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 […]

Having slow Ubuntu 11.04?

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 […]