






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







in order to optimize performance ofcommunication services -> need to optimizeoperations of protocol stack
protocol stack: - layer protocols – kernel and user level – vertical (bi-dir) and horizontal communication path - at the top, well defined socket API - in the kernel protocols less structured - different application may have custom protocolrequirements
correspond to TCP, IP, Ethernet, RPC, …
static – at kernel config time, via protocol graphs - exported operations: - create sessions - session=open(llp, this_p, participants) or • open_enable(llp, this_p, participants) • session=open_done(ulp, this_p, participants) - demultiplex messages to sessions - demux(protocol, message)
down:
from user level, protocol objecttriggers open sessions to lowerlayers, recursively - messages go through sessionobjects based on participantslist (local, remote) up:
use existing session, orcreate new ones at kernel boot:• protocol objects enable session creation (i.e., give llp ability to create a session if amessage arrives) composed at kernelconfiguration time
Buffer management
compare with Unix to see cost of abstraction