14586

An OpenCL design of the Bob Jenkins lookup3 hash function using the Xilinx SDAccel Development Environment

Christian Lalanne, Servesh Muralidharan, Michael Lysaght
ICHEC
ICHEC White Paper, 2015

@article{lalanne2015opencl,

   title={An OpenCL design of the Bob Jenkins lookup3 hash function using the Xilinx SDAccelTMDevelopment Environment},

   author={Lalanne, Christian and Muralidharan, Servesh and Lysaght, Michael},

   year={2015}

}

Download Download (PDF)   View View   Source Source   

604

views

In this report, we present an OpenCL-based design of a hashing function which forms a core component of memcached [1], a distributed in-memory key-value store caching layer widely used to reduce access load between web servers and databases. Our work has been inspired by recent research investigations on dataflow architectures for key-value stores that can sustain a consistent 10Gbps line-rate and which bring significant latency benefits through tight coupling of network interface, memory and compute resources [2]. At the heart of a key-value store architecture, such as memcached, is a hash table, which in essence determines the memory address of a value as a function of an incoming key. This is achieved by first applying the chosen hash function to the contents of a key to produce an address in the table. From this location, a pointer to the address within the value storage area can be retrieved. In the work reported here, we focus on the hashing function stage only. In particular, we have focused on the OpenCL design of the Bob Jenkins lookup3 hash function [3], which is used in the open source software version of memcached and is well known to work effectively over a broad range of key types. This function processes variable sized keys iteratively in 96bit chunks and each chunk is split into three 32bit numbers, which are added to a set of state variables. Before the next chunk is read, these state variables are mixed using addition, subtraction and XOR operations. Due to the inherent feedback loop, the hash function cannot be easily pipelined.
VN:F [1.9.22_1171]
Rating: 3.7/5 (3 votes cast)
An OpenCL design of the Bob Jenkins lookup3 hash function using the Xilinx SDAccel Development Environment, 3.7 out of 5 based on 3 ratings

* * *

* * *

TwitterAPIExchange Object
(
    [oauth_access_token:TwitterAPIExchange:private] => 301967669-yDz6MrfyJFFsH1DVvrw5Xb9phx2d0DSOFuLehBGh
    [oauth_access_token_secret:TwitterAPIExchange:private] => o29ji3VLVmB6jASMqY8G7QZDCrdFmoTvCDNNUlb7s
    [consumer_key:TwitterAPIExchange:private] => TdQb63pho0ak9VevwMWpEgXAE
    [consumer_secret:TwitterAPIExchange:private] => Uq4rWz7nUnH1y6ab6uQ9xMk0KLcDrmckneEMdlq6G5E0jlQCFx
    [postfields:TwitterAPIExchange:private] => 
    [getfield:TwitterAPIExchange:private] => ?cursor=-1&screen_name=hgpu&skip_status=true&include_user_entities=false
    [oauth:protected] => Array
        (
            [oauth_consumer_key] => TdQb63pho0ak9VevwMWpEgXAE
            [oauth_nonce] => 1485167611
            [oauth_signature_method] => HMAC-SHA1
            [oauth_token] => 301967669-yDz6MrfyJFFsH1DVvrw5Xb9phx2d0DSOFuLehBGh
            [oauth_timestamp] => 1485167611
            [oauth_version] => 1.0
            [cursor] => -1
            [screen_name] => hgpu
            [skip_status] => true
            [include_user_entities] => false
            [oauth_signature] => ulBoc+jRIp5xBPOcgryOjOrv7hU=
        )

    [url] => https://api.twitter.com/1.1/users/show.json
)
Follow us on Facebook
Follow us on Twitter

HGPU group

2139 peoples are following HGPU @twitter

HGPU group © 2010-2017 hgpu.org

All rights belong to the respective authors

Contact us: