DOS: Clients can freeze other clients smbd

David Collier-Brown davecb at canada.sun.com
Tue Aug 31 16:38:57 GMT 1999


Jeremy Allison wrote:
> > Hmmm. Why does this change improve things ? I remember
> > debugging one performance problem in the Vantive daemon where
> > the cost of doing the system calls to set/unset the alarm and
> > attendent signal handler were massively eating CPU.

 Mattias.Gronlund wrote:
> You might be right, I just start with the removal of all blocking
> socket-calls.

	On Suns, poll(2) is considered the "best" interface,
	for generality and speed, immediately followed by
	select(3), distantly followed by signaling schemes.
	Select, of course, is more portable than  poll.

--dave
-- 
David Collier-Brown,  | Always do right. This will gratify some people
185 Ellerslie Ave.,   | and astonish the rest.        -- Mark Twain
Willowdale, Ontario   | http://java.science.yorku.ca/~davecb
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb at canada.sun.com


More information about the samba-technical mailing list