Skip to content

Commit

Permalink
Localize the images in lecture intro with drawio (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanyujie2002 authored May 2, 2024
1 parent 7e78532 commit 445ae4a
Show file tree
Hide file tree
Showing 21 changed files with 911 additions and 284 deletions.
76 changes: 76 additions & 0 deletions img/lectures/Asymmetric_multiProcessing.dio
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<mxfile host="65bd71144e">
<diagram id="k0FPUSnzgOY_u6sl6N65" name="Page-1">
<mxGraphModel dx="1184" dy="483" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="2" value="内存" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="354" y="80" width="106" height="50" as="geometry"/>
</mxCell>
<mxCell id="3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="150" y="180" width="120" height="200" as="geometry"/>
</mxCell>
<mxCell id="4" value="处理器 A" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="160" y="190" width="100" height="40" as="geometry"/>
</mxCell>
<mxCell id="5" value="内核" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="170" y="280" width="80" height="30" as="geometry"/>
</mxCell>
<mxCell id="6" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="347" y="180" width="120" height="200" as="geometry"/>
</mxCell>
<mxCell id="7" value="处理器 B" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="357" y="190" width="100" height="40" as="geometry"/>
</mxCell>
<mxCell id="10" value="进程 1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="367" y="240" width="80" height="30" as="geometry"/>
</mxCell>
<mxCell id="12" value="进程 2" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="367" y="290" width="80" height="30" as="geometry"/>
</mxCell>
<mxCell id="13" value="进程 3" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="367" y="340" width="80" height="30" as="geometry"/>
</mxCell>
<mxCell id="14" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="540" y="180" width="120" height="200" as="geometry"/>
</mxCell>
<mxCell id="15" value="处理器 C" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="550" y="190" width="100" height="40" as="geometry"/>
</mxCell>
<mxCell id="16" value="进程 1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="560" y="240" width="80" height="30" as="geometry"/>
</mxCell>
<mxCell id="17" value="进程 2" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="560" y="290" width="80" height="30" as="geometry"/>
</mxCell>
<mxCell id="18" value="进程 3" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="560" y="340" width="80" height="30" as="geometry"/>
</mxCell>
<mxCell id="22" value="" style="endArrow=block;startArrow=block;html=1;fontSize=20;rounded=0;startFill=1;endFill=1;exitX=0.507;exitY=-0.021;exitDx=0;exitDy=0;exitPerimeter=0;shadow=0;" edge="1" parent="1" source="3">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="210" y="170" as="sourcePoint"/>
<mxPoint x="350" y="110" as="targetPoint"/>
<Array as="points">
<mxPoint x="210" y="110"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="23" value="" style="endArrow=classic;startArrow=classic;html=1;rounded=0;shadow=0;fontSize=20;exitX=1.022;exitY=0.632;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=-0.021;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="2" target="14">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="470" y="110" as="sourcePoint"/>
<mxPoint x="610" y="170" as="targetPoint"/>
<Array as="points">
<mxPoint x="600" y="110"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="24" value="" style="endArrow=block;startArrow=block;html=1;rounded=0;shadow=0;fontSize=20;exitX=0.511;exitY=-0.015;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.51;entryY=1.076;entryDx=0;entryDy=0;entryPerimeter=0;startFill=1;endFill=1;" edge="1" parent="1" source="6" target="2">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="360" y="190" as="sourcePoint"/>
<mxPoint x="410" y="140" as="targetPoint"/>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
1 change: 1 addition & 0 deletions img/lectures/Asymmetric_multiProcessing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions img/lectures/Block_IO_management.dio
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<mxfile host="65bd71144e">
<diagram id="DaFIvqqjSVT3N-WCfZud" name="Page-1">
<mxGraphModel dx="748" dy="305" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="2" value="虚拟文件系统" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="170" y="70" width="460" height="60" as="geometry"/>
</mxCell>
<mxCell id="3" value="设备映射器" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="170" y="180" width="460" height="60" as="geometry"/>
</mxCell>
<mxCell id="4" value="通用块层" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="170" y="290" width="460" height="60" as="geometry"/>
</mxCell>
<mxCell id="5" value="I/O 调度程序" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="170" y="400" width="460" height="60" as="geometry"/>
</mxCell>
<mxCell id="6" value="块设备&lt;br&gt;驱动程序" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="170" y="510" width="210" height="60" as="geometry"/>
</mxCell>
<mxCell id="7" value="块设备&lt;br&gt;驱动程序" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;shadow=1;" vertex="1" parent="1">
<mxGeometry x="420" y="510" width="210" height="60" as="geometry"/>
</mxCell>
<mxCell id="8" value="" style="endArrow=block;startArrow=block;html=1;fontSize=20;startFill=1;endFill=1;entryX=0.5;entryY=1.055;entryDx=0;entryDy=0;entryPerimeter=0;exitX=0.5;exitY=-0.047;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="3" target="2">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="400" y="170" as="sourcePoint"/>
<mxPoint x="400" y="140" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="10" value="" style="endArrow=block;startArrow=block;html=1;fontSize=20;startFill=1;endFill=1;entryX=0.5;entryY=1.055;entryDx=0;entryDy=0;entryPerimeter=0;exitX=0.5;exitY=-0.047;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="400" y="287" as="sourcePoint"/>
<mxPoint x="400" y="243.11999999999995" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="11" value="" style="endArrow=block;startArrow=block;html=1;fontSize=20;startFill=1;endFill=1;entryX=0.5;entryY=1.055;entryDx=0;entryDy=0;entryPerimeter=0;exitX=0.5;exitY=-0.047;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="400" y="397" as="sourcePoint"/>
<mxPoint x="400" y="353.11999999999995" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="12" value="" style="endArrow=block;startArrow=block;html=1;fontSize=20;startFill=1;endFill=1;entryX=0.5;entryY=1.055;entryDx=0;entryDy=0;entryPerimeter=0;exitX=0.5;exitY=-0.047;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="276" y="507" as="sourcePoint"/>
<mxPoint x="276" y="463.11999999999995" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="13" value="" style="endArrow=block;startArrow=block;html=1;fontSize=20;startFill=1;endFill=1;entryX=0.5;entryY=1.055;entryDx=0;entryDy=0;entryPerimeter=0;exitX=0.5;exitY=-0.047;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="524.74" y="507" as="sourcePoint"/>
<mxPoint x="524.74" y="463.11999999999995" as="targetPoint"/>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Loading

0 comments on commit 445ae4a

Please sign in to comment.