{"action":"opened","issue":{"url":"https://api.github.com/repos/ANLAB-KAIST/NBA/issues/6","labels_url":"https://api.github.com/repos/ANLAB-KAIST/NBA/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ANLAB-KAIST/NBA/issues/6/comments","events_url":"https://api.github.com/repos/ANLAB-KAIST/NBA/issues/6/events","html_url":"https://github.com/ANLAB-KAIST/NBA/issues/6","id":73260023,"number":6,"title":"Improving GPU offloading mechanisms","user":{"login":"achimnol","id":555156,"avatar_url":"https://avatars.githubusercontent.com/u/555156?v=3","gravatar_id":"","url":"https://api.github.com/users/achimnol","html_url":"https://github.com/achimnol","followers_url":"https://api.github.com/users/achimnol/followers","following_url":"https://api.github.com/users/achimnol/following{/other_user}","gists_url":"https://api.github.com/users/achimnol/gists{/gist_id}","starred_url":"https://api.github.com/users/achimnol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achimnol/subscriptions","organizations_url":"https://api.github.com/users/achimnol/orgs","repos_url":"https://api.github.com/users/achimnol/repos","events_url":"https://api.github.com/users/achimnol/events{/privacy}","received_events_url":"https://api.github.com/users/achimnol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-05T09:29:09Z","updated_at":"2015-05-05T09:29:09Z","closed_at":null,"body":"The current GPU offloading implementation has several limitations:\r\n\r\n * For subsequent offloadable elements, we should just skip the \"aggregation\" phase for the previous \"batch of batches\" that were offloaded.\r\n * The aggregation phase and/or the load balancer should perform \"adaptive batching\" -- when there are few packets/batches, we should stick on CPUs instead of GPUs.\r\n * The current aggregation phase just counts the number of batches only: we need to do it smarter -- for example, use total payload sizes for variable-length datablocks and the number of packets for fixed-length datablocks. (Of course, such differentiation should be implemented light-weight.)"}}