diff options
| author | Dongdong Li <[email protected]> | 2013-08-08 00:15:58 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:58 -0700 |
| commit | 7f49fe9feb174d34efc2a011bad79b38522a360b (patch) | |
| tree | ab5b7b66e40315a81871acbf386722981020f866 /src/intersim2/examples | |
| parent | 5f91e7435742bab74dfbeca18afc63e466498f36 (diff) | |
Intesim2 Integration
Details: See Review 80001 https://gpgpu-sim-code-review.appspot.com/80001/
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16747]
Diffstat (limited to 'src/intersim2/examples')
| -rw-r--r-- | src/intersim2/examples/cmeshconfig | 47 | ||||
| -rw-r--r-- | src/intersim2/examples/dragonflyconfig | 79 | ||||
| -rw-r--r-- | src/intersim2/examples/fattree_config | 76 | ||||
| -rw-r--r-- | src/intersim2/examples/flatflyconfig | 116 | ||||
| -rw-r--r-- | src/intersim2/examples/mesh88_lat | 69 | ||||
| -rw-r--r-- | src/intersim2/examples/mesh88_lat_hotspot | 82 | ||||
| -rw-r--r-- | src/intersim2/examples/singleconfig | 57 | ||||
| -rw-r--r-- | src/intersim2/examples/torus88 | 40 |
8 files changed, 566 insertions, 0 deletions
diff --git a/src/intersim2/examples/cmeshconfig b/src/intersim2/examples/cmeshconfig new file mode 100644 index 0000000..c71ff8d --- /dev/null +++ b/src/intersim2/examples/cmeshconfig @@ -0,0 +1,47 @@ +// $Id: cmeshconfig 5188 2012-08-30 00:31:31Z dub $ + +// Copyright (c) 2007-2012, Trustees of The Leland Stanford Junior University +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + +//concentrated mesh configuration file running batch mode +//xr, yr, x, y, are use to indicate how the concnetration is formed. + +topology = cmesh; + +k = 4; +n = 2; +c = 4; +xr = 2; +yr = 2; + +x = 4; +y = 4; + +routing_function = dor_no_express; + +traffic = bitcomp; + +use_read_write = 0; + +batch_size = 2000; diff --git a/src/intersim2/examples/dragonflyconfig b/src/intersim2/examples/dragonflyconfig new file mode 100644 index 0000000..763b549 --- /dev/null +++ b/src/intersim2/examples/dragonflyconfig @@ -0,0 +1,79 @@ +// $Id: dragonflyconfig 5188 2012-08-30 00:31:31Z dub $ + +// Copyright (c) 2007-2012, Trustees of The Leland Stanford Junior University +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + +// Dragonfly +// + + + + +vc_buf_size = 256; + + +wait_for_tail_credit = 0; + +// +// Router architecture +// +vc_allocator = separable_input_first; +sw_allocator = separable_input_first; +alloc_iters = 1; + +credit_delay = 2; +routing_delay = 0; +vc_alloc_delay = 1; +sw_alloc_delay = 1; +st_final_delay = 1; + +input_speedup = 1; +output_speedup = 1; +internal_speedup = 2.0; + + +warmup_periods = 3; +sim_count = 1; + +sample_period = 10000; + + + +routing_function = min; +num_vcs = 2; + +priority = none; +traffic = uniform; + +injection_rate = 0.8; +packet_size = 10; +injection_rate_uses_flits=1; + +topology = dragonflynew; + +k = 4; +n = 1; + +watch_out=-; + diff --git a/src/intersim2/examples/fattree_config b/src/intersim2/examples/fattree_config new file mode 100644 index 0000000..b4202ff --- /dev/null +++ b/src/intersim2/examples/fattree_config @@ -0,0 +1,76 @@ +// $Id: dragonflyconfig 3555 2011-05-16 23:37:55Z dub $ + +// Copyright (c) 2007-2012, Trustees of The Leland Stanford Junior University +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + + +hold_switch_for_packet=1; + +vc_buf_size = 16; + + +wait_for_tail_credit = 0; + +// +// Router architecture +// +vc_allocator = separable_input_first; +sw_allocator = separable_input_first; +alloc_iters = 1; + +credit_delay = 2; +routing_delay = 0; +vc_alloc_delay = 1; +sw_alloc_delay = 1; +st_final_delay = 1; + +input_speedup = 1; +output_speedup = 1; +internal_speedup = 1.0; + + +warmup_periods = 3; +sim_count = 1; + +sample_period = 10000; + + + +routing_function = nca; +num_vcs = 4; + +priority = none; +traffic = uniform; + +injection_rate = 0.6; +packet_size = 1; +injection_rate_uses_flits=1; + +topology = fattree; + + +k = 4; +n = 3; + +watch_out=-;
\ No newline at end of file diff --git a/src/intersim2/examples/flatflyconfig b/src/intersim2/examples/flatflyconfig new file mode 100644 index 0000000..6674d28 --- /dev/null +++ b/src/intersim2/examples/flatflyconfig @@ -0,0 +1,116 @@ +// $Id: flatflyconfig 5188 2012-08-30 00:31:31Z dub $ + +// Copyright (c) 2007-2012, Trustees of The Leland Stanford Junior University +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + +//A flattened butterfly configurate file with many tweaks from the +//default settings. + + +// Flow control +// Total number of VCs must match the above assignments +num_vcs = 8; +vc_buf_size = 4; + +wait_for_tail_credit = 0; + +// +// Router architectureq +// +vc_allocator = islip; +sw_allocator = islip; +alloc_iters = 1; + +credit_delay = 2; +routing_delay = 0; +vc_alloc_delay = 1; +sw_alloc_delay = 1; +st_final_delay = 1; + +input_speedup = 1; +output_speedup = 1; +internal_speedup = 1.0; + +// +// Traffic +// + +warmup_periods = 3; + +sample_period = 1000; + +sim_count = 1; + +traffic = uniform; + + +// Flatfly +// +// #node = k^(n+1) +// +// x, y, specifies the arrangement of routers in x and y dim +// xr, yr specifiies the arayment of clients in a router +// +topology = flatfly; +subnets = 1; + +c = 4; +k = 4; +n = 2; + +x = 4; +y = 4; +xr = 2; +yr = 2; + +// +// Routing +// + +routing_function = ran_min; + +//1: batch mode, 0: injection mode +use_read_write = 0; + +//for injection mode +packet_size = 1; +injection_rate = 0.1; + +//for batch mode +read_request_size=1; +write_request_size=1; +read_reply_size=1; +write_reply_size=1; + +read_request_begin_vc = 0; +read_request_end_vc = 3; +write_reply_begin_vc = 4; +write_reply_end_vc = 7; +read_reply_begin_vc = 4; +read_reply_end_vc = 7; +write_request_begin_vc = 0; +write_request_end_vc = 3; + +//latency: drains all packet, throughput:no drain? +sim_type = latency; diff --git a/src/intersim2/examples/mesh88_lat b/src/intersim2/examples/mesh88_lat new file mode 100644 index 0000000..189104e --- /dev/null +++ b/src/intersim2/examples/mesh88_lat @@ -0,0 +1,69 @@ +// $Id: mesh88_lat 5506 2013-05-07 21:22:23Z qtedq $ + +// Copyright (c) 2007-2012, Trustees of The Leland Stanford Junior University +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + +//8X8 mesh with 20 flits per packet under injection mode +//injection rate here is packet per cycle, NOT flit per cycle + +// Topology + +topology = mesh; +k = 8; +n = 2; + +// Routing +routing_function = dor; + +// Flow control +num_vcs = 8; +vc_buf_size = 8; +wait_for_tail_credit = 1; + +// Router architecture +vc_allocator = islip; +sw_allocator = islip; +alloc_iters = 1; + +credit_delay = 2; +routing_delay = 0; +vc_alloc_delay = 1; +sw_alloc_delay = 1; + +input_speedup = 2; +output_speedup = 1; +internal_speedup = 1.0; + + +// Traffic +traffic = transpose; +packet_size = 20; + + +// Simulation +sim_type = latency; + +injection_rate = 0.005; +watch_packets = {1,1,1}; + diff --git a/src/intersim2/examples/mesh88_lat_hotspot b/src/intersim2/examples/mesh88_lat_hotspot new file mode 100644 index 0000000..45c2b3f --- /dev/null +++ b/src/intersim2/examples/mesh88_lat_hotspot @@ -0,0 +1,82 @@ +// $Id: mesh88_lat 5487 2013-02-27 08:16:18Z qtedq $ + +// Copyright (c) 2007-2012, Trustees of The Leland Stanford Junior University +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + +//8X8 mesh with 20 flits per packet under injection mode +//injection rate here is packet per cycle, NOT flit per cycle + +// Topology + +topology = mesh; +k = 8; +n = 2; + +// Routing + +routing_function = dor; + +// Flow control + +num_vcs = 8; +vc_buf_size = 8; + +wait_for_tail_credit = 0; + +// Router architecture + +vc_allocator = separable_input_first; +sw_allocator = separable_input_first; +alloc_iters = 1; + +credit_delay = 2; +routing_delay = 0; +vc_alloc_delay = 1; +sw_alloc_delay = 1; +speculative=1; + +input_speedup = 1; +output_speedup = 1; +internal_speedup = 1.0; + +// Traffic + +traffic = hotspot; +packet_size ={{1,2,3,4},{10,20}}; +packet_size_rate={{1,1,1,1},{2,1}}; +// Simulation + +sim_type = latency; +latency_thres = 100000.0; + +injection_rate = 0.1; + + +classes=2; + + +classes=2; +injection_rate={0.01,0.01}; +packet_size={{1,5},{10,20}}; +packet_size_rate={{1,1},{2,1}}; diff --git a/src/intersim2/examples/singleconfig b/src/intersim2/examples/singleconfig new file mode 100644 index 0000000..aca3d28 --- /dev/null +++ b/src/intersim2/examples/singleconfig @@ -0,0 +1,57 @@ +// $Id: singleconfig 5188 2012-08-30 00:31:31Z dub $ + +// Copyright (c) 2007-2012, Trustees of The Leland Stanford Junior University +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + +//A single cross 10X10 cross bar under injection mode + +topology = fly; + +k = 10; +n = 1; + +num_vcs = 8; + +vc_buf_size = 8; + +vc_allocator = separable_input_first; +sw_allocator = separable_input_first; + +routing_function = dest_tag; + +traffic = uniform; + +use_read_write = 0; + +injection_rate = 1.0; + + + + +sample_period = 100000; + +routing_delay = 0; +vc_alloc_delay = 1; +sw_alloc_delay = 1; +st_final_delay = 1; diff --git a/src/intersim2/examples/torus88 b/src/intersim2/examples/torus88 new file mode 100644 index 0000000..17ae91f --- /dev/null +++ b/src/intersim2/examples/torus88 @@ -0,0 +1,40 @@ +// $Id: torus88 5188 2012-08-30 00:31:31Z dub $ + +// Copyright (c) 2007-2012, Trustees of The Leland Stanford Junior University +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + +//simple 8X8 torus under injection mode + + +// Topology +topology = torus; +k = 8; +n = 2; +// Routing +routing_function = dim_order; +// Flow control +num_vcs = 2; +// Traffic +traffic = uniform; +injection_rate = 0.15; |
