05.05.2015 Views

nsdi2015-slides

nsdi2015-slides

nsdi2015-slides

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Lazy Approach to Populating Cache<br />

Solution: Build cache of combined “megaflows” lazily as packets arrive.<br />

Table 0<br />

ip_src=a<br />

ip_src=b<br />

ip_src=c<br />

ip_src=d<br />

Table 1<br />

ip_dst=e<br />

× ip_dst=f × ∙∙∙ × eth_dst=j =<br />

ip_dst=g ... eth_dst=k<br />

ip_dst=h<br />

Table 24<br />

eth_dst=i<br />

eth_dst=m<br />

n 1<br />

flows n 2<br />

flows n 24<br />

flows<br />

...<br />

...<br />

Megaflow Cache<br />

ip_src=a, ip_dst=f, …, eth_dst=i<br />

ip_src=c, ip_dst=g, …, eth_dst=k<br />

ip_src=d, ip_dst=e, …, eth_dst=m<br />

populated dynamically<br />

only from actually observed<br />

packets<br />

Same (or better!) table lookups as naive approach.<br />

Traffic locality yields practical cache size.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!