Working
hardto solve
complexproblems
Developing
distributed (storage)systems
Contributing
to many OSS projects- Consuming
coffee
☕ Java, C, Go, Python ... UNIX
Fun with Pinned gists
Working
hard to solve
complex problems
Developing
distributed (storage) systems
Contributing
to many OSS projectscoffee
☕Java, C, Go, Python ... UNIX
Fun with Pinned gists
[DEFAULT]
enabled_share_backends = dcache
enabled_share_protocols = NFS
[dcache]
share_backend_name = dCache
driver_handles_share_servers = False
share_driver = manila.share.drivers.dcache.dcache.DCacheShareDriver
dcache_api_url = https://dcache-lab007:3333
import java.nio.ByteBuffer; | |
public class Hexdump { | |
public static void dumphex(long offset, ByteBuffer buffer) { | |
byte[] chunk = new byte[16]; | |
while(buffer.hasRemaining()) { |
DCAP client - door protocol:
# https://docs.docker.com/compose/yml/ | |
# Each service defined in docker-compose.yml must specify exactly one of | |
# image or build. Other keys are optional, and are analogous to their | |
# docker run command-line counterparts. | |
# | |
# As with docker run, options specified in the Dockerfile (e.g., CMD, | |
# EXPOSE, VOLUME, ENV) are respected by default - you don't need to | |
# specify them again in docker-compose.yml. | |
# | |
service_name: |
# | |
# tuned configuration for dcache pools | |
# | |
[main] | |
summary=tuned configuration for dcache pools | |
[cpu] | |
governor=performance | |
energy_perf_bias=performance |
# | |
# tuned configuration | |
# /etc/tuned/virtual-guest-nfs-client/tuned.conf | |
# | |
[main] | |
summary=Optimize for running inside a virtual guest | |
include=throughput-performance | |
[sysctl] |
import com.sun.btrace.annotations.*; | |
import static com.sun.btrace.BTraceUtils.*; | |
@BTrace | |
public class PnfsHandler { | |
@OnMethod( | |
clazz="diskCacheV111.util.PnfsHandler", | |
method="clearCacheLocation" | |
) |