Commit bdb779f3 authored by Shane Snyder's avatar Shane Snyder

misc edits for switching from bake-bulk => bake

parent 48d42533
...@@ -3,14 +3,14 @@ ...@@ -3,14 +3,14 @@
*.i *.i
*.s *.s
*.swp *.swp
bake-bulk-config.h bake-config.h
autom4te.cache/ autom4te.cache/
config.log config.log
config.status config.status
Makefile Makefile
Makefile.in Makefile.in
bake-bulk-config.h.in bake-config.h.in
bake-bulk-config.h.in~ bake-config.h.in~
configure configure
cscope.files cscope.files
aclocal.m4 aclocal.m4
......
# bake-bulk # BAKE
## Dependencies ## Dependencies
...@@ -32,22 +32,20 @@ modify the configure step listed above to include the following argument: ...@@ -32,22 +32,20 @@ modify the configure step listed above to include the following argument:
## Server daemon execution example (using tmpfs memory as backing store) ## Server daemon execution example (using tmpfs memory as backing store)
* `truncate -s 500M /dev/shm/foo.dat` * `bake-mkpool -s 500M /dev/shm/foo.dat`
* `pmempool create obj /dev/shm/foo.dat` * `bake-server-daemon sm://1/1 /dev/shm/foo.dat`
* `bake-bulk-server sm://1/1 /dev/shm/foo.dat`
### Explanation ### Explanation
The truncate command creates an empty 500 MiB file in /dev/shm, The bake-mkpool command creates a BAKE pool used to store raw data for
which will act as a ramdisk for storage in this case. You can skip this step a particular BAKE target. This is essentially a wrapper command around
if you are using a true NVRAM device file. pmemobj utilities for creating an empty pool that additionally store
some BAKE-specific metadata in the created pool. Pools used by the BAKE
server must be created using this command.
The pmempool command formats the storage device as a pmem target for The bake-server-daemon command starts the server daemon.
libpmemobj.
The bake-bulk-server command starts the server daemon. The first argument to bake-server-daemon is the address for Mercury to
The first argument to bake-bulk-server is the address for Mercury to
listen on. In this case we are using the CCI/SM transport. For other listen on. In this case we are using the CCI/SM transport. For other
transports this would more likely just be an address and port number transports this would more likely just be an address and port number
(e.g. "tcp://localhost:1234"). CCI/SM endpoints are identified by two (e.g. "tcp://localhost:1234"). CCI/SM endpoints are identified by two
...@@ -59,17 +57,17 @@ to create subdirectories in /tmp/cci/sm for IPC connection information. ...@@ -59,17 +57,17 @@ to create subdirectories in /tmp/cci/sm for IPC connection information.
CCI/SM will create all necessary subdirectories in /tmp/cci. For example, CCI/SM will create all necessary subdirectories in /tmp/cci. For example,
if the command is run on host "carns-x1" with "sm://1/1" then CCI/SM if the command is run on host "carns-x1" with "sm://1/1" then CCI/SM
will create a /tmp/cci/sm/carns-x1/1/1 directory containing connection will create a /tmp/cci/sm/carns-x1/1/1 directory containing connection
information for the bake-bulk-server process. information for the bake-server-daemon process.
The second argument to bake-bulk-server is the path to the libpmem-formatted The second argument to bake-server-daemon is the path to the BAKE pool
storage device. originally created with bake-mkpool.
## Benchmark execution example ## Benchmark execution example
* `./bb-latency-bench sm:///tmp/cci/sm/carns-x1/1/1 100000 4 8` * `./bake-latency-bench sm:///tmp/cci/sm/carns-x1/1/1 100000 4 8`
This example runs a sequence of latency benchmarks. Other bb- utilities This example runs a sequence of latency benchmarks. Other utilities
installed with bake-bulk will perform other rudimentary operations. installed with BAKE will perform other rudimentary operations.
The first argument is the address of the server. We are using CCI/SM in this The first argument is the address of the server. We are using CCI/SM in this
case, which means that the URL is a path to the connection information of the case, which means that the URL is a path to the connection information of the
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_PREREQ([2.63]) AC_PREREQ([2.63])
AC_INIT([bake-bulk], [0.1], [],[],[]) AC_INIT([bake], [0.1], [],[],[])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
LT_INIT LT_INIT
...@@ -16,7 +16,7 @@ AM_INIT_AUTOMAKE([foreign subdir-objects -Wall]) ...@@ -16,7 +16,7 @@ AM_INIT_AUTOMAKE([foreign subdir-objects -Wall])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_SRCDIR([README.md]) AC_CONFIG_SRCDIR([README.md])
AC_CONFIG_HEADERS([bake-bulk-config.h]) AC_CONFIG_HEADERS([bake-config.h])
# Checks for programs. # Checks for programs.
AC_PROG_CC AC_PROG_CC
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
* See COPYRIGHT in top-level directory. * See COPYRIGHT in top-level directory.
*/ */
#include "bake-config.h"
#include <assert.h> #include <assert.h>
#include <margo.h> #include <margo.h>
#include <bake-client.h> #include <bake-client.h>
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
* See COPYRIGHT in top-level directory. * See COPYRIGHT in top-level directory.
*/ */
#include "bake-config.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
* See COPYRIGHT in top-level directory. * See COPYRIGHT in top-level directory.
*/ */
#include "bake-config.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
* See COPYRIGHT in top-level directory. * See COPYRIGHT in top-level directory.
*/ */
#include "bake-config.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
* See COPYRIGHT in top-level directory. * See COPYRIGHT in top-level directory.
*/ */
#include "bake-config.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
* See COPYRIGHT in top-level directory. * See COPYRIGHT in top-level directory.
*/ */
#include "bake-config.h"
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
* See COPYRIGHT in top-level directory. * See COPYRIGHT in top-level directory.
*/ */
#include "bake-config.h"
#include <assert.h> #include <assert.h>
#include <libpmemobj.h> #include <libpmemobj.h>
#include <bake-server.h> #include <bake-server.h>
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
* See COPYRIGHT in top-level directory. * See COPYRIGHT in top-level directory.
*/ */
#include "bake-config.h"
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
......
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