SELinux performance
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 [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 8 lines · Joy Latten
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()andsocket_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
Signature · 7 lines
James Morris <[email protected]> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 10 lines · James Morris
Quoted 8 lines · Joy Latten
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()andsocket_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.
Quoted 4 lines
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
Quoted 14 lines · sharp
Quoted 13 lines · James Morris
Quoted 8 lines · Joy Latten
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()andsocket_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.
Quoted 6 lines
Quoted 1 line
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 [email protected] with the words "unsubscribe selinux" without quotes as the message.