xfs
[Top] [All Lists]

XFS binary code size

To: xfs@xxxxxxxxxxx
Subject: XFS binary code size
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Mon, 26 Sep 2011 18:12:45 -0500
Reply-to: stan@xxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2
I'm curious about the footprint of the XFS binary code, specifically for 32 bit systems, but knowing the 64 bit case would be educational as well for comparison. I don't use kernel modules or I'd already have a rough answer. My last build was 2.6.38.6 but I'm sure the size hasn't changed much in more recent kernels. My XFS build options were:

$ grep -i xfs .config
CONFIG_XFS_FS=y
# CONFIG_XFS_QUOTA is not set
# CONFIG_XFS_POSIX_ACL is not set
# CONFIG_XFS_RT is not set

My resulting kernel image is:
$ la /boot/vmlinuz-2.6.38.6
-rw-r--r--  1 root root 1.6M May 17 23:55 vmlinuz-2.6.38.6

How much of that 1.6MB is XFS? Also, what is the size of the hot path code that we want to stay in L1 during heavy IO?

--
Stan

<Prev in Thread] Current Thread [Next in Thread>