[openib-general] Re: Re: RFC: SDP plans

Michael S. Tsirkin mst at mellanox.co.il
Tue Feb 28 06:24:06 PST 2006


Quoting r. Roland Dreier <rdreier at cisco.com>:
> Subject: Re: Re: RFC: SDP plans
> 
>  > > > - Use sysfs for statistics, entry per socket
> 
>  > > this one sounds a bit fishy.  with lots of sockets you'll eat up far
>  > > too much memory I susect.  But let's look at the code once it's there.
> 
>  > Hmm. Should I stick to /proc then?
> 
> No, nothing like per-socket statistics in /proc is going to be merged
> upstream.  I think the real question is whether per-socket are useful.
> If they are important, and sysfs doesn't work, then another
> possibility would be a netlink-based way of retrieving them.

I'd like to point out that other protocols maintain stuff in /proc/net/tcp6
Assuming I want to use sysfs, where do I stick my directory?
/sys/class/net/sdp? /sys/class/infiniband/sdp?


-- 
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies



More information about the general mailing list