This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zhang464@ug137:~/ece552/asst5/gem5$ bash runscons.sh debug -n 2 --l1d_size 8192B --l1d_assoc 4 | |
debug ProtocolTrace | |
gem5 Simulator System. http://gem5.org | |
gem5 is copyrighted software; use the --copyright option for details. | |
gem5 compiled Dec 4 2016 18:07:56 | |
gem5 started Dec 4 2016 18:39:50 | |
gem5 executing on ug137.eecg | |
command line: ./build/ALPHA/gem5.opt --debug-flags=ProtocolTrace ./configs/example/ruby_random_test.py -n 2 --l1d_size 8192B --l1d_assoc 4 | |
Global frequency set at 1000000000 ticks per second |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zhang464@ug137:~/ece552/asst5/gem5$ grep 0x1fc0 dprintf.log | |
1236: system.l1_cntrl1: MSI-cache.sm:345: L1 - mandatoryQueue_in request of type ST for address [0x1fc0, line 0x1fc0] - No replacement necessary | |
1848: system.dir_cntrl0: MSI-dir.sm:222: Directory - requestQueue_in port: GETM request for address [0x1fc0, line 0x1fc0] from machine L1Cache-1 | |
1848: system.dir_cntrl0: MSI-dir.sm:464: Directory - memQueue_out: send MEMORY_READ request for address [0x1fc0, line 0x1fc0] triggered from machine Directory-0 | |
1913: system.l1_cntrl0: MSI-cache.sm:345: L1 - mandatoryQueue_in request of type ST for address [0x1fc0, line 0x1fc0] - No replacement necessary | |
2252: system.dir_cntrl0: MSI-dir.sm:261: Directory - memQueue_in port: MEMORY_READ for address [0x1fc0, line 0x1fc0] from machine L1Cache-1 | |
2252: system.dir_cntrl0: MSI-dir.sm:351: Directory - responseNetwork_out: sendData sending DATA message type for address [0x1fc0, line 0x1fc0] w/ AckCount 0 | |
2269: system.dir_cntrl0: MSI-dir.sm:222: Direct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedWriter; | |
import java.io.BufferedReader; | |
import java.io.FileWriter; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.util.Scanner; | |
public class storage{ | |
public class record{ | |
String key; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//AdmMessage.java | |
//==================================================================================== | |
package common.messages; | |
import app_kvServer.model.Metadata; | |
import app_kvServer.model.Range; | |
public interface AdmMessage { | |
public enum StatusType { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
mkdir bin | |
cd bin | |
wget https://raw.githubusercontent.com/rupa/z/master/z.sh | |
echo "[ -f ~/bin/z.sh ] && source ~/bin/z.sh" >> ~/.zshrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# S3 list object version command reference | |
# https://docs.aws.amazon.com/cli/latest/reference/s3api/list-object-versions.html | |
# S3 batch deletion CLI command reference | |
# https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html | |