deepti dhokte - Sun Microsystems - Menlo Park United States wrote: >> What's your case that need to poll a ring group even though there are >> per-ring interrupts implemented? >> > The particular case for which I see, per-group interrupt useful is that - > > ring-groups are used for load-balancing in heavy network conditions. > so traffic on all the rings of a group is buffering same packet-flow. > so to make interrupt blanking work so that this heavy network traffic don't > keep thrashing interrupt on the bound cpus, > it would be good to have single interrupt across all rings of the same > group. > Otherwise you will have to blank individual interrupts of each ring of the > group, which seems to me overhead. > if single interrupts across multiple rings of the same group is supported > in hardware and abstract from L2 framework > then no virtual masking would be needed, and would be cleaner and simpler. > but if there is no such support I was wondering if there can be something > like virtual masking, > i.e. either > 1) the way I had earlier pictured and explained in earlier email's first > paragraph. > or > 2) in which although interrupt 1,2,3,4 belong to rings of same group > blanking 4, always would blank 1,2,3 as well. > > unless you guys have some other ways in mind. You may check out the polling design published by Sunay in early this year: http://www.opensolaris.org/os/project/crossbow/Design_softringset.txt
Your question reminders us to add this reference in the new document. Thanks a lot! >> In this design, the ring group is mapped to hardware resources, so >> it's impossible to group rings from different devices. > > I don't know if its' impossible but as network interfaces/devices and > their driver implementations > evolve, there might be one in the making. wishful thinking ;-) I can not agree with you, but your comments are very helpful! Thanks, Roamer -- # telnet (650)-786-6759 (x86759) Connected to Solaris.Sun.COM. login: Lu, Yunsong Last login: January 2, 2007 from beyond.sfbay Yunsong.Lu at Sun.COM v1.03 Since Mon Dec. 22, 2003 [Roamer at Solaris Networking]# cd ..