Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2012 13:20:23 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Richard Kojedzinszky <krichy@tvnetwork.hu>
Cc:        freebsd-security@freebsd.org
Subject:   Re: ufs multilabel performance (fwd)
Message-ID:  <4F8AAEF7.3090800@zedat.fu-berlin.de>
In-Reply-To: <alpine.DEB.2.02.1204142134050.8001@krichy.tvnetwork.hu>
References:  <alpine.DEB.2.02.1204142134050.8001@krichy.tvnetwork.hu>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Am 04/14/12 21:37, schrieb Richard Kojedzinszky:
> Dear list,
> 
> Although it is not only security-related question, I did not get any
> answer from freebsd-performance. The original question is below.
> 
> Can someone give some advice?
> 
> Thanks in advance,
> 
> 
> Kojedzinszky Richard
> Euronet Magyarorszag Informatikai Zrt.
> 
> ---------- Forwarded message ----------
> Date: Thu, 10 Nov 2011 06:16:57 +0100 (CET)
> From: Richard Kojedzinszky <krichy@tvnetwork.hu>
> To: freebsd-performance@freebsd.org
> Subject: ufs multilabel performance
> 
> Dear List,
> 
> I've noticed that when I enable multilabel on an fs, a file creation
> gets around 20-30 times slower than without multilabel set.
> 
> This one-liner can be used to test the differences:
> $ truss -D perl -e 'open(F, ">$_.file") for 1 .. 1000'

Same here, creating files seems to be 10 - 30 times slower with
multilabels as it is without.

But as several posts and discussions reflects, FreeBSD isn't supposed to
be fast although it is claimed that writing is the major than reading;
FBSD should serve functionality.
> 
> And one can see that the open call takes much more when multilabel is
> set on an fs. It seems that only file creation needs that many time,
> when a file exists it is opened much faster.
> 
> Could someone acknowledge this, and have some suggestions how to make it
> faster?
> 
> Regards,
> 
> 
> Kojedzinszky Richard
> TvNetWork Nyrt.
> E-mail: krichy (at) tvnetwork [dot] hu
> PGP: 0x54B2BF0C8F59B1B7
>   Fingerprint = F6D4 3FFE AF03 CACF 0DCB  46A1 54B2 BF0C 8F59 B1B7
> _______________________________________________
> freebsd-security@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-security
> To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBAgAGBQJPiq8DAAoJEOgBcD7A/5N8CMIIAJDE2q87nR7cdwrxNdZnJtl3
+VL5xs13MD5/2TLLpwjFnwFUT0JfEWLHGt9L8eQSQq6Ec4ZJdooyfdjzdYN9Q8NO
ykd4lUjnPeEzcUdjjiftY8BFsHomMM8PHZi9GDROJnzPT1c29GxNXLafwZxDGPq0
DvnKDXMjLaYf/SE1MKRIofyzXwJHsu7nbLcQJj4ZOv+W5FMkRwqIadFMux2VhNxc
nAVPK1CVsoc8o1BVY2h5GGQ+Z6ww0WYgJYr/ekkwNAOxh3xFDklxQgNPuIOSwhMt
VlQXUie5esAjaQ8PDRC14lHSEhCALgT27lTtGqWI9CageTgxljfkncZ+IY9xUiY=
=dMKB
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F8AAEF7.3090800>