All of lore.kernel.org
 help / color / mirror / Atom feed
* SELinux performance
@ 2005-12-14 20:08 Joy Latten
  2005-12-15  0:47 ` James Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Joy Latten @ 2005-12-14 20:08 UTC (permalink / raw)
  To: selinux; +Cc: sds, jmorris

A while back I took up some SELinux performance work that a colleague of
mine, Kylie Hall had done. The patch added ipv4 address, ipv6 address
and port caches to SELinux. I believe I sent the patch a while back
also, but can do so again if anyone is interested. The caches are
exercised in such SELinux hooks as socket_bind(), socket_connect() and
socket_sock_rcv_skb(). Bandwidth has allowed me some time to work on
this. Can anyone recommend a benchmark that will exercise this code?  I
figured something that utilized many ip addresses or ports. 

I will be on vacation starting tomorrow, but will be reading email from
time to time as I would like to complete this work.

Regards,
Joy Latten

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

* Re: SELinux performance
  2005-12-14 20:08 SELinux performance Joy Latten
@ 2005-12-15  0:47 ` James Morris
  2005-12-15  1:31   ` sharp
  0 siblings, 1 reply; 8+ messages in thread
From: James Morris @ 2005-12-15  0:47 UTC (permalink / raw)
  To: Joy Latten; +Cc: selinux, sds

On Wed, 14 Dec 2005, Joy Latten wrote:

> A while back I took up some SELinux performance work that a colleague of
> mine, Kylie Hall had done. The patch added ipv4 address, ipv6 address
> and port caches to SELinux. I believe I sent the patch a while back
> also, but can do so again if anyone is interested. The caches are
> exercised in such SELinux hooks as socket_bind(), socket_connect() and
> socket_sock_rcv_skb(). Bandwidth has allowed me some time to work on
> this. Can anyone recommend a benchmark that will exercise this code?  I
> figured something that utilized many ip addresses or ports. 

apachebench is a good basic test, and you can also try webstone, lmbench 
and iperf.

Not sure how to realistically simulate large numbers of IP addresses.


- James
-- 
James Morris
<jmorris@namei.org>

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

* Re: SELinux performance
  2005-12-15  0:47 ` James Morris
@ 2005-12-15  1:31   ` sharp
  2005-12-15  4:37     ` Serge E. Hallyn
  0 siblings, 1 reply; 8+ messages in thread
From: sharp @ 2005-12-15  1:31 UTC (permalink / raw)
  To: selinux

[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]

On Wednesday 14 December 2005 06:47 pm, James Morris wrote:
> On Wed, 14 Dec 2005, Joy Latten wrote:
> > A while back I took up some SELinux performance work that a colleague of
> > mine, Kylie Hall had done. The patch added ipv4 address, ipv6 address
> > and port caches to SELinux. I believe I sent the patch a while back
> > also, but can do so again if anyone is interested. The caches are
> > exercised in such SELinux hooks as socket_bind(), socket_connect() and
> > socket_sock_rcv_skb(). Bandwidth has allowed me some time to work on
> > this. Can anyone recommend a benchmark that will exercise this code?  I
> > figured something that utilized many ip addresses or ports.
>
> apachebench is a good basic test, and you can also try webstone, lmbench
> and iperf.
>
> Not sure how to realistically simulate large numbers of IP addresses.

You might consider, budget permitting, something like Net Avalanche
<spirentcom>. Rack mountable thingy designed for stress testing using
realistic traffic: "simulates up to 50,000 simultaneously-connected 
users with unique IP addresses".  (Every home should have one.)

- s harp


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: SELinux performance
  2005-12-15  1:31   ` sharp
@ 2005-12-15  4:37     ` Serge E. Hallyn
  0 siblings, 0 replies; 8+ messages in thread
From: Serge E. Hallyn @ 2005-12-15  4:37 UTC (permalink / raw)
  To: sharp; +Cc: selinux

Quoting sharp (steven.harp@adventiumlabs.org):
> On Wednesday 14 December 2005 06:47 pm, James Morris wrote:
> > On Wed, 14 Dec 2005, Joy Latten wrote:
> > > A while back I took up some SELinux performance work that a colleague of
> > > mine, Kylie Hall had done. The patch added ipv4 address, ipv6 address
> > > and port caches to SELinux. I believe I sent the patch a while back
> > > also, but can do so again if anyone is interested. The caches are
> > > exercised in such SELinux hooks as socket_bind(), socket_connect() and
> > > socket_sock_rcv_skb(). Bandwidth has allowed me some time to work on
> > > this. Can anyone recommend a benchmark that will exercise this code?  I
> > > figured something that utilized many ip addresses or ports.
> >
> > apachebench is a good basic test, and you can also try webstone, lmbench
> > and iperf.
> >
> > Not sure how to realistically simulate large numbers of IP addresses.
> 
> You might consider, budget permitting, something like Net Avalanche
> <spirentcom>. Rack mountable thingy designed for stress testing using
> realistic traffic: "simulates up to 50,000 simultaneously-connected 
> users with unique IP addresses".  (Every home should have one.)

Nifty.  If someone has one of these sitting around and wants to try
out Joy's (/Kylie's) patchset, that sounds like a very good test indeed.

-serge

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

* selinux performance
@ 2007-07-01  7:20 somayeh afzali
  2007-07-01 13:51 ` James Morris
  2007-07-04 21:38 ` Steve G
  0 siblings, 2 replies; 8+ messages in thread
From: somayeh afzali @ 2007-07-01  7:20 UTC (permalink / raw)
  To: J. Tang, himainu-ynakam, seedit-devel, owner-selinux, selinux,
	selinux-approval, Kerry Thompson

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

hi,

is there a tool for checking selinux performance?

thanks

       
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.

[-- Attachment #2: Type: text/html, Size: 344 bytes --]

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

* Re: selinux performance
  2007-07-01  7:20 somayeh afzali
@ 2007-07-01 13:51 ` James Morris
  2007-07-04 21:38 ` Steve G
  1 sibling, 0 replies; 8+ messages in thread
From: James Morris @ 2007-07-01 13:51 UTC (permalink / raw)
  To: somayeh afzali
  Cc: J. Tang, himainu-ynakam, seedit-devel, owner-selinux, selinux,
	selinux-approval, Kerry Thompson

On Sun, 1 Jul 2007, somayeh afzali wrote:

> hi,
> 
> is there a tool for checking selinux performance?

avcstat can help

-- 
James Morris
<jmorris@namei.org>

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

* selinux performance
@ 2007-07-04 11:20 somayeh afzali
  0 siblings, 0 replies; 8+ messages in thread
From: somayeh afzali @ 2007-07-04 11:20 UTC (permalink / raw)
  To: J. Tang, himainu-ynakam, seedit-devel, owner-selinux, selinux,
	selinux-approval, Kerry Thompson


[-- Attachment #1.1: Type: text/plain, Size: 138 bytes --]





       
---------------------------------
Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. 

[-- Attachment #1.2: Type: text/html, Size: 242 bytes --]

[-- Attachment #2: Type: message/rfc822, Size: 1369 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 188 bytes --]

hi,

is there a tool for checking selinux performance?

thanks

       
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.

[-- Attachment #2.1.2: Type: text/html, Size: 344 bytes --]

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

* Re: selinux performance
  2007-07-01  7:20 somayeh afzali
  2007-07-01 13:51 ` James Morris
@ 2007-07-04 21:38 ` Steve G
  1 sibling, 0 replies; 8+ messages in thread
From: Steve G @ 2007-07-04 21:38 UTC (permalink / raw)
  To: somayeh afzali, J. Tang, himainu-ynakam, seedit-devel,
	owner-selinux, selinux, selinux-approval, Kerry Thompson


>is there a tool for checking selinux performance?

Do you mean what the performance change is between enabled and disabled? Or
whether or not SE Linux is working correctly? Or its performance statistics?
Performance can be interpreted many ways. We can give some suggestions if you
tell us what you are after.

-Steve


       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

end of thread, other threads:[~2007-07-04 21:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-04 11:20 selinux performance somayeh afzali
  -- strict thread matches above, loose matches on Subject: below --
2007-07-01  7:20 somayeh afzali
2007-07-01 13:51 ` James Morris
2007-07-04 21:38 ` Steve G
2005-12-14 20:08 SELinux performance Joy Latten
2005-12-15  0:47 ` James Morris
2005-12-15  1:31   ` sharp
2005-12-15  4:37     ` Serge E. Hallyn

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.