Filesystem
1
Disclaimer: some slides are adopted from book authors’ slides with permission
Filesystem Disclaimer: some slides are adopted from book authors - - PowerPoint PPT Presentation
Filesystem Disclaimer: some slides are adopted from book authors slides with permission 1 Recap: Ext2 Inode 12 blocks are directly mapped, 1 indirect pointer. 1 double indirect pointer, 1 triple indirect pointer Maximum file size?
1
Disclaimer: some slides are adopted from book authors’ slides with permission
– 12 blocks are directly mapped, 1 indirect pointer. 1 double indirect pointer, 1 triple indirect pointer
– min( ((b/4)3+(b/4)2+b/4+12)*b, (232-1)*512 ) – 1K block size
256^3) = 16GB
– 2K block size
512^3) = 256G
– 4K block size
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Network controller
Internet Internet
18
19
1. Physical - electrical details of the physical transmission of a bit stream 2. Data-link - reliable data delivery on the physical medium 3. Network - addressing, routing, and delivery of packets 4. Transport – reliable delivery over the network 5. Session – session management among applications 6. Presentation – data representation, encryption 7. Application – application specific
20
21
Ethernet HTTP, DNS, SMTP, FTP, …
22
Image source: http://en.wikipedia.org/wiki/Internet_protocol_suite
23
24
Internet Internet
25
26 Source: G. Herrin, Linux IP Networking: A Guide to the Implementation and Modification of the Linux Protocol Stack, 2000
27 Source: G. Herrin, Linux IP Networking: A Guide to the Implementation and Modification of the Linux Protocol Stack, 2000