linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* agcount 33 by default for a single HDD?
@ 2018-08-01  1:32 Chris Murphy
  2018-08-01  2:01 ` Chris Murphy
  2018-08-01  4:12 ` Dave Chinner
  0 siblings, 2 replies; 9+ messages in thread
From: Chris Murphy @ 2018-08-01  1:32 UTC (permalink / raw)
  To: xfs list

This seems suboptimal. Basically this is a 750G thin volume. I don't
have a plain partition on a device handy to try this out but I'm
pretty certain the default is 4 AG's in that case, so I'm confused why
by default 33 AGs are created on a thin volume. The LVM volume group
is on a dmcrypt PV.


xfsprogs-4.15.1-1.fc28.x86_64
lvm2-2.02.177-5.fc28.x86_64
kernel-4.17.11-200.fc28.x86_64




[chris@f28s ~]$ sudo lvdisplay 4vg/nukeit
  --- Logical volume ---
  LV Path                /dev/4vg/nukeit
  LV Name                nukeit
  VG Name                4vg
  LV UUID                T21akN-RZeV-CfpZ-br70-6A1e-IkFI-VYOhNj
  LV Write Access        read/write
  LV Creation host, time f28s.local, 2018-07-31 19:28:21 -0600
  LV Pool name           4pool
  LV Status              available
  # open                 0
  LV Size                750.00 GiB
  Mapped size            0.00%
  Current LE             192000
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:10

[chris@f28s ~]$ sudo mkfs.xfs /dev/mapper/4vg-nukeit
meta-data=/dev/mapper/4vg-nukeit isize=512    agcount=33, agsize=6143872 blks
         =                       sectsz=4096  attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=0,
rmapbt=0, reflink=0
data     =                       bsize=4096   blocks=196608000, imaxpct=25
         =                       sunit=128    swidth=1024 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
log      =internal log           bsize=4096   blocks=96000, version=2
         =                       sectsz=4096  sunit=1 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
[chris@f28s ~]$


-- 
Chris Murphy

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-08-01 20:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-01  1:32 agcount 33 by default for a single HDD? Chris Murphy
2018-08-01  2:01 ` Chris Murphy
2018-08-01  4:12 ` Dave Chinner
2018-08-01  4:38   ` Chris Murphy
2018-08-01  4:41     ` Eric Sandeen
2018-08-01  5:04       ` Chris Murphy
2018-08-01  5:05         ` Eric Sandeen
2018-08-01 11:45         ` Carlos Maiolino
2018-08-01 18:50           ` Chris Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).