Re: ufs multilabel performance (fwd)

From: Richard Kojedzinszky <krichy_at_tvnetwork.hu>
Date: Tue, 17 Apr 2012 23:24:29 +0200 (CEST)
Without any benchmarks I would also think for the high io, in the xen dom0 
I see high disk activity (eg 99% writes) when using mac labels. But of 
course I will do the tests, please give some instructions, how to compile 
the kernel, how the implement the benchmark.

Thanks in advance,


Kojedzinszky Richard
Euronet Magyarorszag Informatikai Zrt.

On Tue, 17 Apr 2012, Edward Tomasz Napierała wrote:

> Date: Tue, 17 Apr 2012 22:57:09 +0200
> From: Edward Tomasz Napierała <trasz_at_FreeBSD.org>
> To: Adrian Chadd <adrian_at_freebsd.org>
> Cc: Richard Kojedzinszky <krichy_at_tvnetwork.hu>,
>     Garrett Cooper <yanegomi_at_gmail.com>, freebsd-security_at_freebsd.org,
>     freebsd-performance_at_freebsd.org,
>     Current FreeBSD <freebsd-current_at_freebsd.org>,
>     O. Hartmann <ohartman_at_zedat.fu-berlin.de>
> Subject: Re: ufs multilabel performance (fwd)
> 
> Wiadomość napisana przez Adrian Chadd w dniu 17 kwi 2012, o godz. 21:17:
>> On 16 April 2012 23:31, Richard Kojedzinszky <krichy_at_tvnetwork.hu> wrote:
>>>
>>> So now reactions here, creating files with multilabel is still slow.
>>>
>>> I would like to use multilabel access control on my /tmp, for example, my
>>> web server places it's session files there in a subdirectory. Of course, I
>>> would like to assign a label for that subdir, but with this slow file
>>> creation, that is not the way to go. I may then use a different filesystem
>>> for that. In this case, can I assign a root mac label for a mount point?
>>
>> Hi,
>>
>> This is a perfect job for hwpmc / dtrace.
>>
>> Would you be able to load up either of those and get some CPU usage
>> statistics whilst you're running your benchmark?
>>
>> It's either that, or it's (massive) locking contention.
>
> Or disk I/O.  MAC labels, just like ACLs, are stored in extended attributes,
> and I remember something about writing those being synchronous.
>
> -- 
> If you cut off my head, what would I say?  Me and my head, or me and my body?
>
Received on Tue Apr 17 2012 - 19:24:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC