Skip to content

Instantly share code, notes, and snippets.

View sebhtml's full-sized avatar

Sébastien Boisvert sebhtml

View GitHub Profile
mpiexec -n 3 ./example_controller -threads-per-node 9 ~/dropbox/*.fastq
is king
actor 1020038268 spawned controller 855878001
actor 1020038268 synchronizes
actor 1020038268 receives BSAL_ACTOR_SYNCHRONIZE
actor 1770361225 receives BSAL_ACTOR_SYNCHRONIZE
actor 381171080 receives BSAL_ACTOR_SYNCHRONIZE
actor 1020038268 receives BSAL_ACTOR_SYNCHRONIZED, sending BSAL_ACTOR_YIELD
actor 1020038268, starting controller 855878001
actor 1020038268 is king
mpiexec -n 3 ./example_controller -threads-per-node 9 ~/dropbox/*.fastq
is king
actor 1582086009 spawned controller 571222134
actor 1582086009 synchronizes
actor 1249840463 receives BSAL_ACTOR_SYNCHRONIZE
actor 1582086009 receives BSAL_ACTOR_SYNCHRONIZE
actor 1201373482 receives BSAL_ACTOR_SYNCHRONIZE
actor 1582086009 receives BSAL_ACTOR_SYNCHRONIZED, sending BSAL_ACTOR_YIELD
actor 1582086009, starting controller 571222134
actor 1582086009 is king
Progress so far on project Core
[seb@sal biosal]# ./scripts/lines.sh
5742 total
705 ./engine/actor.c
681 ./engine/node.c
313 ./engine/worker.c
308 ./structures/hash_table.c
200 ./examples/mock/mock.c
197 ./examples/ring/sender.c
cd /kb
git clone ssh://kbase@git.kbase.us/dev_container
cd /kb/dev_container
./bootstrap /kb/runtime
source user-env.sh
cd /kb/dev_container/modules
git clone ssh://kbase@git.kbase.us/assembly
git fetch origin
git checkout RC
make deploy
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxAD9LtPuPiSpsurw/ahxZd4HcDH0cFuVJ0p5PD6FhCyvsRVdqQVSn/DE6BVbhIHhH84rCsNzZ1ZXOUcqrO4soXjWQDRfJYwBKHzdIfnMPvQRMU7CsFHGP5gaZwsYJqK3+bTKGwuWC6Q/XgcBze/IgtYJu/nja/eO+jtAdFlG53hIqvEHpCFO6VqV8jPoP8cMGjZWyHAhzTSrIAkdm66lOyTm01+5oLQvGtez1raFL4HrZwokx7E5vuBlfHq5croEjhp2nHDIsxHOGrBntysN3uewscfoTkMFzK+uXkd6KDmNqggCQxZx1F8d0KG7ad6o34XpsQfhjuUAJic88M8vl seb@fault
diff --git a/code/SeedingData/PathHandle.cpp b/code/SeedingData/PathHandle.cpp
index 5398a55..e037a83 100644
--- a/code/SeedingData/PathHandle.cpp
+++ b/code/SeedingData/PathHandle.cpp
@@ -20,7 +20,12 @@
#include "PathHandle.h"
+#include <fstream>
+#include <iostream>
diff --git a/code/SeedingData/PathHandle.cpp b/code/SeedingData/PathHandle.cpp
index 5398a55..e037a83 100644
--- a/code/SeedingData/PathHandle.cpp
+++ b/code/SeedingData/PathHandle.cpp
@@ -20,7 +20,12 @@
#include "PathHandle.h"
+#include <fstream>
+#include <iostream>
#include <iostream>
#include <fstream>
#include <stdint.h>
using namespace std;
class Test {
private:
uint64_t m_value;
public:
Test();
#include <iostream>
#include <fstream>
#include <stdint.h>
using namespace std;
class Test {
private:
uint64_t m_value;
public:
Test();
Latency Comparison Numbers
--------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns
Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms
Read 4K randomly from SSD* 150,000 ns 0.15 ms