All of lore.kernel.org
 help / color / mirror / Atom feed
* xfs help question
@ 2014-03-30  7:12 Marko Weber|8000
  2014-03-30 20:22 ` Emmanuel Florac
  2014-03-30 23:46 ` Dave Chinner
  0 siblings, 2 replies; 3+ messages in thread
From: Marko Weber|8000 @ 2014-03-30  7:12 UTC (permalink / raw)
  To: Xfs


hello again me ;-),
i thought best place to ask this is here.
i read the faq alot last days but have still questions:

i got a server now with 4 Disks,
i plan to do an raid5 with linux soft raid.
On the server is planed to store 'larger' from 1GB up to 60GB.

what would be best settings when formatting with xfs?
is it better to use '-b size=4096' or the '512'?
should i manipulate the '-i size=' to 2048? or use the default?

i also dont get it with the write-disk cache at all,
its an linux softraid, is the best then to use 'nobarrier' and let the
'disk write cache on'?

or is best solution on linux softraid 'disk write cache' on with xfs 
barrier on?

also, should i tweak with sunit,swidth? and how do i calculate best 
setting?

thanks for any tipps n hints

marko

-- 
zbfmail - Mittendrin statt nur Datei!

OpenDKIM, SPF, DSPAM, Greylisting, POSTSCREEN, AMAVIS, Mailgateways
Mailfiltering, SMTP Service, Spam Abwehr, MX-Backup, Mailserver Backup
Redundante Mailgateways, HA Mailserver, Secure Mailserver

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

* Re: xfs help question
  2014-03-30  7:12 xfs help question Marko Weber|8000
@ 2014-03-30 20:22 ` Emmanuel Florac
  2014-03-30 23:46 ` Dave Chinner
  1 sibling, 0 replies; 3+ messages in thread
From: Emmanuel Florac @ 2014-03-30 20:22 UTC (permalink / raw)
  To: weber; +Cc: Xfs

Le Sun, 30 Mar 2014 09:12:20 +0200 vous écriviez:

> i also dont get it with the write-disk cache at all,
> its an linux softraid, is the best then to use 'nobarrier' and let the
> 'disk write cache on'?
> 
> or is best solution on linux softraid 'disk write cache' on with xfs 
> barrier on?

It depends. write cache without an UPS is a very efficient way to lose
data. However  if you only care about performance, let write cache on
and barriers off.

> also, should i tweak with sunit,swidth? and how do i calculate best 
> setting?

With a recent kernel, mkfs.xfs should determine automatically the md
geometry, so no, don't try to tweak su and sw.

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

* Re: xfs help question
  2014-03-30  7:12 xfs help question Marko Weber|8000
  2014-03-30 20:22 ` Emmanuel Florac
@ 2014-03-30 23:46 ` Dave Chinner
  1 sibling, 0 replies; 3+ messages in thread
From: Dave Chinner @ 2014-03-30 23:46 UTC (permalink / raw)
  To: weber; +Cc: Xfs

On Sun, Mar 30, 2014 at 09:12:20AM +0200, Marko Weber|8000 wrote:
> 
> hello again me ;-),
> i thought best place to ask this is here.
> i read the faq alot last days but have still questions:
> 
> i got a server now with 4 Disks,
> i plan to do an raid5 with linux soft raid.
> On the server is planed to store 'larger' from 1GB up to 60GB.
> 
> what would be best settings when formatting with xfs?
> is it better to use '-b size=4096' or the '512'?
> should i manipulate the '-i size=' to 2048? or use the default?

Use the defaults.  The defaults on md/dm raid will do the right
things to configure the filesystem and handle crash safety properly.

Unless you have experience with XFS and the storage stack and know
exactly what you *need to do*, tweaking knobs will only cause bad
things to happen to you and your data.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2014-03-30 23:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-30  7:12 xfs help question Marko Weber|8000
2014-03-30 20:22 ` Emmanuel Florac
2014-03-30 23:46 ` Dave Chinner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.