[Top] [All Lists]

High %user CPU in XFS

To: xfs@xxxxxxxxxxx
Subject: High %user CPU in XFS
From: Subranshu Patel <spatel.ml@xxxxxxxxx>
Date: Sun, 17 Feb 2013 21:20:46 +0530
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=zhgVHHizhBoLj4NdcSr8sVoNNmoCGCTPJQN/iWRkz0A=; b=Sy5uDLkVn3zpWkkJ+iVb2wYbKN3s82C2mx8f+KqaoJ9WeM13nLcvFUEI7oVoyFRTt+ /2pu6lwSn8kQQXm8QU0v6wwZ9hF43UNkRKBQxNOSCgcCHDe7LDEg2sbuiShOa9Pr5Wa1 +49fOqjWdbnwFVKODBdOzES0qb9Qoph3Tv2hOZJoZCRJHIesRMck07SlLLqkhzuWD2JF m8MUL195LX9HS1KdNdBoMPFcOQinyl4aDDRKkgVaGP+rrGd6CV5l+mKVt2eM6Enf46G3 DPi2e+NAzGiQU8BS4QAjPy0NACmdlKLanuMfo0wX8gmNGGlgF6Bfru8mHFL3YzYgHBxS xZHg==
 I created 2 filesystem on my system (RHEL 6.3, kernel 2.6.32) - XFS
and EXT4 and mounted them.

On both the filesystem I executed a program which performed the following:
- Create large number of directories
- Removing all the directories

During the execution of the program, I monitored the %user and %system
CPU usage (using sar command)

For EXT4 the %user was 1% and %system was 21%
For XFS the %user was 20% and %system was 52%

But I am not able to understand %user consumption, since %user reports
the CPU usage of the user level (application), shouldn't it be the
same for both EXT4 and XFS?

What are the factors that decide the %user component keeping in mind
that only the filesystem is different?

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