Commit eb4d53d6 authored by Paul's avatar Paul

Added ownership info to files

parent bc50645d
######################################################################
##
## G00616949
##
## Paul McKerley
##
## CS675 Spring 2020 -- Project
##
######################################################################
# Configuration
myip="76.106.80.60"
......@@ -8,7 +17,7 @@ key=id_rsa
code_bucket="paul-cs675"
templates="https://$code_bucket.s3.amazonaws.com/project"
local_code_path=~/go/src/cs675-spring20-labs/lambdafs/
num_etcd_nodes=1
num_etcd_nodes=3
etcd_endpoints() {
i=0
......
#!/bin/bash
######################################################################
##
## G00616949
##
## Paul McKerley
##
## CS675 Spring 2020 -- Project
##
######################################################################
set -e
......
#!/bin/bash
######################################################################
##
## G00616949
##
## Paul McKerley
##
## CS675 Spring 2020 -- Project
##
######################################################################
if ! aws iam list-roles | grep '"RoleName": "ec2-role"'
......
#!/bin/bash
######################################################################
##
## G00616949
##
## Paul McKerley
##
## CS675 Spring 2020 -- Project
##
######################################################################
set -e
......
#!/bin/bash
/usr/local/bin/etcd --name infra0 --initial-advertise-peer-urls http://localhost:2480 \
--listen-peer-urls http://localhost:2480 \
--listen-client-urls http://localhost:2479,http://127.0.0.1:2479 \
--advertise-client-urls http://localhost:2479 \
--initial-cluster-token etcd-cluster-1 \
--initial-cluster infra0=http://localhost:2480,infra1=http://localhost:2481,infra2=http://localhost:2482 \
--initial-cluster-state new --logger=zap &
/usr/local/bin/etcd --name infra1 --initial-advertise-peer-urls http://localhost:2481 \
--listen-peer-urls http://localhost:2481 \
--listen-client-urls http://localhost:2478,http://127.0.0.1:2478 \
--advertise-client-urls http://localhost:2478 \
--initial-cluster-token etcd-cluster-1 \
--initial-cluster infra0=http://localhost:2480,infra1=http://localhost:2481,infra2=http://localhost:2482 \
--initial-cluster-state new --logger=zap&
/usr/local/bin/etcd --name infra2 --initial-advertise-peer-urls http://localhost:2482 \
--listen-peer-urls http://localhost:2482 \
--listen-client-urls http://localhost:2477,http://127.0.0.1:2477 \
--advertise-client-urls http://localhost:2477 \
--initial-cluster-token etcd-cluster-1 \
--initial-cluster infra0=http://localhost:2480,infra1=http://localhost:2481,infra2=http://localhost:2482 \
--initial-cluster-state new --logger=zap&
......@@ -20,7 +20,6 @@ lfs_data = {}
for d in lfs_reader:
lfs_data[d['syscall']] = int(d['sum'])
keys = sorted(list(set(efs_data.keys()).intersection(lfs_data.keys())), key=lambda x: lfs_data[x], reverse=True)
N = len(keys)
......@@ -34,7 +33,7 @@ fig, ax = plt.subplots()
rects_efs = ax.bar(ind, efs_means, width, color='r')
ax.set_yscale('log')
rects_lfs = ax.bar(ind + width, lfs_means, width, color='b')
rects_lfs = ax.bar(ind + width, lfs_means, width, color='y')
# add some text for labels, title and axes ticks
ax.set_ylabel('µs')
......
This diff is collapsed.
syscall,avg,min,max,sum
_elapsed,122888,87681,203259,1966215
access,38,36,60,615
arch_prctl,22,20,33,358
brk,79,14,221,5025
close,52,15,481,6694
exit_group,25,23,27,400
fstat,13985,15,201096,1790122
futex,17,16,18,265
ioctl,55,29,77,1709
mmap,19,15,45,3998
mprotect,26,16,67,3375
munmap,17,15,28,267
open,21,17,33,805
openat,34,16,97,2733
prlimit64,18,17,19,290
read,41,18,353,2685
rt_sigaction,21,17,52,663
rt_sigprocmask,18,17,22,293
set_robust_list,15,13,18,233
set_tid_address,21,20,27,341
write,36337,18,145268,145347
//////////////////////////////////////////////////////////////////////
//
// G00616949
//
// Paul McKerley
//
// CS675 Spring 2020 -- Project
//
//////////////////////////////////////////////////////////////////////
package lock
import (
......
//////////////////////////////////////////////////////////////////////
//
// G00616949
//
// Paul McKerley
//
// CS675 Spring 2020 -- Project
//
//////////////////////////////////////////////////////////////////////
// Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
......
//////////////////////////////////////////////////////////////////////
//
// G00616949
//
// Paul McKerley
//
// CS675 Spring 2020 -- Project
//
//////////////////////////////////////////////////////////////////////
package internal
import (
......
//////////////////////////////////////////////////////////////////////
//
// G00616949
//
// Paul McKerley
//
// CS675 Spring 2020 -- Project
//
//////////////////////////////////////////////////////////////////////
package internal
import (
......
//////////////////////////////////////////////////////////////////////
//
// G00616949
//
// Paul McKerley
//
// CS675 Spring 2020 -- Project
//
//////////////////////////////////////////////////////////////////////
package main
import (
......
//////////////////////////////////////////////////////////////////////
//
// G00616949
//
// Paul McKerley
//
// CS675 Spring 2020 -- Project
//
//////////////////////////////////////////////////////////////////////
package main
import (
......
//////////////////////////////////////////////////////////////////////
//
// G00616949
//
// Paul McKerley
//
// CS675 Spring 2020 -- Project
//
//////////////////////////////////////////////////////////////////////
package main
import (
......
//////////////////////////////////////////////////////////////////////
//
// G00616949
//
// Paul McKerley
//
// CS675 Spring 2020 -- Project
//
//////////////////////////////////////////////////////////////////////
package main
import (
......
#!/bin/bash
######################################################################
##
## G00616949
##
## Paul McKerley
##
## CS675 Spring 2020 -- Project
##
######################################################################
. $(dirname $0)/../aws/common.sh
......
//////////////////////////////////////////////////////////////////////
//
// G00616949
//
// Paul McKerley
//
// CS675 Spring 2020 -- Project
//
//////////////////////////////////////////////////////////////////////
package main
import (
......
#!/bin/bash
######################################################################
##
## G00616949
##
## Paul McKerley
##
## CS675 Spring 2020 -- Project
##
######################################################################
. $(dirname $0)/../aws/common.sh
......
//////////////////////////////////////////////////////////////////////
//
// G00616949
//
// Paul McKerley
//
// CS675 Spring 2020 -- Project
//
//////////////////////////////////////////////////////////////////////
// Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
......
#!/usr/bin/python3
######################################################################
##
## G00616949
##
## Paul McKerley
##
## CS675 Spring 2020 -- Project
##
######################################################################
import threading
import os
import glob
......
#!/bin/bash
######################################################################
##
## G00616949
##
## Paul McKerley
##
## CS675 Spring 2020 -- Project
##
######################################################################
. $(dirname $0)/../aws/common.sh
......
#!/bin/env python
######################################################################
##
## G00616949
##
## Paul McKerley
##
## CS675 Spring 2020 -- Project
##
######################################################################
from collections import defaultdict
import pdb
import re
......
//////////////////////////////////////////////////////////////////////
//
// G00616949
//
// Paul McKerley
//
// CS675 Spring 2020 -- Project
//
//////////////////////////////////////////////////////////////////////
package main
import (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment