LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-24-2010, 08:05 PM   #1
CoderMan
Member
 
Registered: Jan 2009
Location: Gemini Capsule 25164
Distribution: Gentoo
Posts: 375
Blog Entries: 24

Rep: Reputation: 43
Question XFS Lazy Count?


From MKFS.XFS(8):

Code:
                   lazy-count=value
                          This  changes  the method of logging various persistent counters in the superblock.  Under metadata intensive
                          workloads, these counters are updated and logged frequently enough that the superblock updates become a seri‐
                          alisation point in the filesystem. The value can be either 0 or 1.

                          With  lazy-count=1,  the  superblock  is  not  modified or logged on every change of the persistent counters.
                          Instead, enough information is kept in other parts of the filesystem to be able to  maintain  the  persistent
                          counter values without needed to keep them in the superblock.  This gives significant improvements in perfor‐
                          mance on some configurations.  The default value is 0 (off) so you must specify lazy-count=1 if you  want  to
                          make use of this feature.
What is a metadata-intensive workload? And are there any downsides to turning on lazy count?
 
Old 03-24-2010, 08:17 PM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 97
If you are using the XFS filesystem in an environment where power is not going to be unexpectedly dropped, using lazy-count=1 will improve performance without the risk of partial journal transitions.

Last edited by troop; 03-24-2010 at 08:18 PM.
 
  


Reply



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
DBD::mysql::st execute failed: Column count doesn't match value count at row 1 shifter Programming 2 02-24-2010 07:42 PM
Need a way to count sub-directories and get a total count Mo-regard Linux - Newbie 1 08-14-2009 09:10 AM
kdebase not recognizing XFree86-xfs package as xfs mikeyt_333 Linux - Software 1 08-17-2004 01:50 PM
Should posts in general count on your post count? Joey.Dale General 16 01-27-2004 01:31 AM

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

All times are GMT -5. The time now is 11:05 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