Skip to content

Instantly share code, notes, and snippets.

@kenenbek
Created May 17, 2018 12:11
Show Gist options
  • Save kenenbek/c3d789cf9bfc66c1dcfe75bbae9b0426 to your computer and use it in GitHub Desktop.
Save kenenbek/c3d789cf9bfc66c1dcfe75bbae9b0426 to your computer and use it in GitHub Desktop.
Tatlin simulation topology
<?xml version="1.0" encoding="UTF-8"?>
<topology id="tatlin">
<!--Cache storage type-->
<storage_type id="Cache" size="256GB">
<model_prop id="read" value="9GBps"/>
<model_prop id="write" value="6GBps"/>
</storage_type>
<!--MEGA storage types like storage pooling array-->
<storage_type id="SSD" size="1TB">
<model_prop id="read" value="1GBps"/>
<model_prop id="write" value="1GBps"/>
</storage_type>
<storage_type id="HDD" size="1TB">
<model_prop id="read" value="100MBps"/>
<model_prop id="write" value="100MBps"/>
</storage_type>
<!--Носители информации-->
<storage_array id="CacheArray" storage_id="Cache" amount="1"/>
<storage_array id="SSDArray" storage_id="SSD" amount="10"/>
<storage_array id="JBOD1" storage_id="HDD" amount="10"/>
<storage_array id="JBOD2" storage_id="HDD" amount="10"/>
<host id="IOBalancer" speed="1Gf"/>
<host id="NetworkSwitch" speed="1Gf"/>
<host id="Client" speed="1Gf"/>
<host id="Anomaly" speed="1Gf"/>
<host id="Server1" speed="1Gf" type="controller"/>
<host id="Server2" speed="1Gf" type="controller"/>
<host id="Server3" speed="1Gf" type="controller"/>
<host id="Server4" speed="1Gf" type="controller"/>
<host id="FabricManager" speed="1Gf" type="pci-fabric">
<mount storageId="Cache" name="/Cache"/>
</host>
<host id="SSD" speed="1Gf" type="disk_drive">
<mount storageId="SSD" name="/SSD"/>
</host>
<host id="JBOD1" speed="1Gf" type="disk_drive">
<mount storageId="JBOD1" name="/JBOD1"/>
</host>
<host id="JBOD2" speed="1Gf" type="disk_drive">
<mount storageId="JBOD2" name="/JBOD2"/>
</host>
<!--LINKS-->
<link id="client_lb" bandwidth="1GBps" latency="0us"/>
<link id="Client_Server1" bandwidth="0.2GBps" latency="0us"/>
<link id="Client_Server2" bandwidth="0.2GBps" latency="0us"/>
<link id="Client_Server3" bandwidth="0.2GBps" latency="0us"/>
<link id="Client_Server4" bandwidth="0.2GBps" latency="0us"/>
<link id="Server1_FabricManager" bandwidth="0.2GBps" latency="0us"/>
<link id="Server2_FabricManager" bandwidth="0.2GBps" latency="0us"/>
<link id="Server3_FabricManager" bandwidth="0.2GBps" latency="0us"/>
<link id="Server4_FabricManager" bandwidth="0.2GBps" latency="0us"/>
<link id="FabricManager_SSD" bandwidth="12.8GBps" latency="0us"/>
<link id="FabricManager_JBOD1" bandwidth="0.128GBps" latency="0us"/>
<link id="FabricManager_JBOD2" bandwidth="0.128GBps" latency="0us"/>
<!--ROUTES FROM LOAD BALANCER TO EACH SERVER-->
<route src="Client" dst="LoadBalancer">
<link_ctn id="client_lb"/>
</route>
<route src="Client" dst="Server1">
<link_ctn id="Client_Server1"/>
</route>
<route src="Client" dst="Server2">
<link_ctn id="Client_Server2"/>
</route>
<route src="Client" dst="Server3">
<link_ctn id="Client_Server3"/>
</route>
<route src="Client" dst="Server4">
<link_ctn id="Client_Server4"/>
</route>
<!--ROUTES FROM EACH SERVER TO CACHE-->
<route src="Server1" dst="FabricManager">
<link_ctn id="Server1_FabricManager"/>
</route>
<route src="Server2" dst="FabricManager">
<link_ctn id="Server2_FabricManager"/>
</route>
<route src="Server3" dst="FabricManager">
<link_ctn id="Server3_FabricManager"/>
</route>
<route src="Server4" dst="FabricManager">
<link_ctn id="Server4_FabricManager"/>
</route>
<route src="FabricManager" dst="SSD">
<link_ctn id="FabricManager_SSD"/>
</route>
<route src="FabricManager" dst="JBOD1">
<link_ctn id="FabricManager_JBOD1"/>
</route>
<route src="FabricManager" dst="JBOD2">
<link_ctn id="FabricManager_JBOD2"/>
</route>
</topology>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment