Giter VIP home page Giter VIP logo

netcache-p4's Introduction

netcache-p4's People

Contributors

baizh1994 avatar xinjin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

netcache-p4's Issues

Question about bitmap implementations

Hi ~
I'm working on reproducing your NetCache implementations. According to the code on master branch, it seems no bitmap implementations. Since the value length is 128 bytes (generated by the default python script) and the p4src/value.p4 logic just put the 128 bytes value into 32*4 register arrays.
Can you supply a bitmap implementation (including the controller logic) described in the paper ?

About clone_egress_pkt_to_egress question

Hi,I am running this netcache p4 code, but I have got a question.
In the heavy_hitter count process, when the count reached at threshold, you use clone_egress_pkt_to_egress function to create a packet and send this new packet to Controller.
I thought this new packet will not enter the parser and ingress , because it is cloned to egress.
But it seems not like this, the packet marked as HOT_READ_REQUEST enter the switch from the parser, and I dot't know why.
This is different from the P4-14 specification.
Thank you.

I run it in my VM , get the error , I hope you can give me some solution .

I run the ./run_demo.sh
it start the mininet successfully , but it doesn't work well in the demo , i follow the instruction to start all the *.py in the correct host , the server and the client didn't got anything . I try to use the p1 ping p2 in the mininet , but failed.
I check the output of ./run_demo.sh I find this thing

Traceback (most recent call last):
File "/home/ubuntu/bmv2/targets/simple_switch/sswitch_CLI.py", line 58, in
main()
File "/home/ubuntu/bmv2/targets/simple_switch/sswitch_CLI.py", line 55, in main
SimpleSwitchAPI(args.pre, standard_client, mc_client, sswitch_client).cmdloop()
File "/usr/lib/python2.7/cmd.py", line 142, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python2.7/cmd.py", line 221, in onecmd
return func(arg)
File "/home/ubuntu/bmv2/tools/runtime_CLI.py", line 567, in do_table_add
BmAddEntryOptions(priority = priority)
File "/home/ubuntu/bmv2/tools/bm_runtime/standard/Standard.py", line 352, in bm_mt_add_entry
return self.recv_bm_mt_add_entry()
File "/home/ubuntu/bmv2/tools/bm_runtime/standard/Standard.py", line 380, in recv_bm_mt_add_entry
raise result.ouch
bm_runtime.standard.ttypes.InvalidTableOperation: InvalidTableOperation(what=16)
Command '['/home/ubuntu/bmv2/targets/simple_switch/sswitch_CLI', 'netcache.json', '22222']' returned non-zero exit status 1

I think it is for ['/home/ubuntu/bmv2/targets/simple_switch/sswitch_CLI', 'netcache.json', '22222']
My ubuntu environment is the P4 provided entire .ova.

I am a china student with poor english . This my email : [email protected] Thank you very much.

implementation for tofino ASIC

Did you open the source code for Tofino ASIC? Because the paper's testbed is forTofino Switch. It will be very kind of you if you could give me some advices.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.