









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!










1
Some Slides by Younggyun Koh
3
7
9
13
15
Client^ Server
IDL-Compiler-Generated Stubs for Marshalling (generic)
foo (a,b) { … }
XDR (foo, x, y)
XDR (results)
… foo(x,y) ...
19
21
20 100 500 1000 2000 20004 20004 20004 20004 20004 24340 27540 33540 63540 111348
Message Size (bytes)
Generic Specialized
Code size of SunOS binaries (in bytes)
Packet Filter
System
Network
User
25
Program Run time Interpretation time Null (unavoidable overhead) 2.6 sec NA Original 4.34 1. Static specialization 2.84 0. Dynamic specialization 3.35 0.
Time taken to process 10MB data (~10,000 packets):
27
sys_kill (int pid, int sig)
kill_proc (int pid, int sign, int priv)
send_sig (int sig, task_struct * p, int priv)
generate (int sig, task_struct * p)
-- enter kernel
-- search process table for pid
-- check for permission
-- deliver the signal
kill (pid, sig)
31
Source Encoder Decoder Sink
Source Encoder Decoder Filter Sink
33