LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-09-2010, 06:13 PM   #1
frozenQueue
LQ Newbie
 
Registered: Jul 2010
Posts: 25

Rep: Reputation: 0
xfs agcount


I'm building a Linux server that is going to have a bunch of VMs running on it, using the XFS filesystem. The mkfs.xfs man page indicates that increasing the number of allocation groups "implies that more parallelism can be achieved when allocating blocks and inodes." But what does that mean in practical terms. What are the positive and negative results of increasing the number of allocation groups?

Also, the man page indicates the default agcount value is "scaled automatically" depending on file size. What formula is used to determine that?
 
Old 12-09-2010, 08:01 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
I downloaded the xfs source via cvs.

While I look for the algorithm you can too. That's the beauty.

I checked out both linux-2.6-xfs and xfs-cmds. I ran the following command and found the man page you were looking at.
Code:
find . type f -print0 2> /dev/null | xargs -0 grep -iH 'scaled automatically' | cut -d: -f1 | sort -u
./xfs-cmds/xfsprogs/man/man8/mkfs.xfs.8

It's a start. I'm looking for the codebase for mkfs.xfs now. I'll update this post as I find more information.

Last edited by sag47; 12-09-2010 at 08:21 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Growing XFS help Karimo Slackware 6 11-17-2009 08:51 PM
kdebase not recognizing XFree86-xfs package as xfs mikeyt_333 Linux - Software 1 08-17-2004 01:50 PM
aic7xxx xfs.s Homzz Slackware 3 04-13-2004 02:02 AM
2.4.22+xfs BedriddenTech Linux - Software 0 09-01-2003 06:30 AM
Xfs mikeshn Linux - Newbie 1 02-18-2002 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration