Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache replacement #1

Open
mk228 opened this issue Nov 15, 2015 · 4 comments
Open

cache replacement #1

mk228 opened this issue Nov 15, 2015 · 4 comments

Comments

@mk228
Copy link

mk228 commented Nov 15, 2015

Hi..... I need urgent help.
If I want to use weight for replacement and weight contains 3 fields. how can calculate this weight in ndn . I have not got anything. for example weight contains frequency , time . sum of 2 fields calculate weight. how write in ndnsim?
thanks a lot

@schneiderklaus
Copy link

Hi,
can you tell me what exactly you are trying to do? What do you mean with "weight"? What do you mean with "replacement"? The cache replacement policy?

Also, is this related to our implementation or to ndnSIM in general?

@mk228
Copy link
Author

mk228 commented Nov 16, 2015

Hi, I want to cache replacement policy. weight for when cache is full, which one select to evict.
another question, in ndnsim, How can caclculate distance to server????

@schneiderklaus
Copy link

I think you should post your question about the weight to the NFD mailing list.

Again: what do you mean with distance to the server? In NDN you usually don't know which server/producer or cache sends you the data. You can measure the RTT between the Interest is sent out and the data packet is received. There may also be a hopcount field that tells you the number of routers that were travelled.

Have a look at the NFD developer guide: http://named-data.net/publications/techreports/ndn-0021-5-nfd-developer-guide/

@mk228
Copy link
Author

mk228 commented Nov 16, 2015

yes, I want to calculate number of routers that were travelled.how??? can you explain more?
how measure RTT??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants