how I can implement content centric caching strategy using NS2?
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how I can implement content centric caching strategy using NS2?
I have followed the tutorial instructions but I still face difficulties to achieve my research idea. I created wired with wireless topology similar to existing wired-cum-wireless-sim.tcl file then I aim to integrate the http caching into it. I don't know if am I in right way or not. Can you guide me step by step?
I have followed the tutorial instructions but I still face difficulties to achieve my research idea. I created wired with wireless topology similar to existing wired-cum-wireless-sim.tcl file then I aim to integrate the http caching into it. I don't know if am I in right way or not. Can you guide me step by step?
No, sorry...read the "Question Guidelines" link in my posting signature.
We are happy to help with specific questions/problems, but we aren't going to write up step-by-step tutorials for you. You don't say what "tutorial instructions" you followed, from where, or what exactly your difficulties are...not even version/distro of Linux or NS2. Post the code that YOU have written, what error(s)/message(s) you're seeing, and what you're doing to get them, and we can try to help. Otherwise, there are thousands of pages of tutorials and how-to guides for NS2 you can find with a Google search to help you get started.
To help keep the quality of questions and resulting answers useful for everyone, please review the Site FAQ, and in particular the Welcome page and the links it provides for guidance in posting your questions.
We have no way of knowing what tutorial you have followed, and without seeing the code you have written no one can offer useful help.
Please use the LQ Search feature to find other related questions here on LQ, and of course your search engine of choice for other possible sources.
No, sorry...read the "Question Guidelines" link in my posting signature.
We are happy to help with specific questions/problems, but we aren't going to write up step-by-step tutorials for you. You don't say what "tutorial instructions" you followed, from where, or what exactly your difficulties are...not even version/distro of Linux or NS2. Post the code that YOU have written, what error(s)/message(s) you're seeing, and what you're doing to get them, and we can try to help. Otherwise, there are thousands of pages of tutorials and how-to guides for NS2 you can find with a Google search to help you get started.
Thanks for your notes, I will re ask my question specifically.
1- The tutorial is Mark Greis' Tutorial with the related parts on ns2 manual (VINT project 2011) adding to web cache chapter on ns2 manual. I meant by " guide me step by step" that I want someone have experience on ns2 caching to tell me the steps that I should go through in to learn how I can implement my caching algorithm successfully, especially I have a close deadline to submit.
2- I work on ns-2.35, windows 7 with Cygwin.
my question:
-I want to implement ccn caching algorithm using ns2. The first step that I have taken is create wired-wireless topology, then I tried to apply simple caching on the base station (like simple-webcache.tcl example on ns2 manual). The code works but the http log file results with only one record. I attached the TCL script and http log files to help me find where is the mistake, why only one record?
- For my caching algorithm, what the files should I modified and in which I put my algorithm?
Thanks for your notes, I will re ask my question specifically.
1- The tutorial is Mark Greis' Tutorial with the related parts on ns2 manual (VINT project 2011) adding to web cache chapter on ns2 manual.
Are you expecting us to look this up and read it, so you can work on your project?
Quote:
I meant by " guide me step by step" that I want someone have experience on ns2 caching to tell me the steps that I should go through in to learn how I can implement my caching algorithm successfully, especially I have a close deadline to submit.
Your deadlines on your homework have no bearing on responses you get. Yes, we understand you want us to type up guides and walk you through coding, but we are saying that YOU need to do your own homework, and make your own changes, and we will help you if you get stuck.
Quote:
2- I work on ns-2.35, windows 7 with Cygwin.
Windows is not Linux.
Quote:
my question:
-I want to implement ccn caching algorithm using ns2. The first step that I have taken is create wired-wireless topology, then I tried to apply simple caching on the base station (like simple-webcache.tcl example on ns2 manual). The code works but the http log file results with only one record. I attached the TCL script and http log files to help me find where is the mistake, why only one record?
- For my caching algorithm, what the files should I modified and in which I put my algorithm?
If the reference point is to be "the tutorial", then a link to the tutorial would be most helpful. The name alone is not very useful as it would require others to do the leg-work and still have to figure out at what point you are having trouble.
A better description of your implementation and the point at which you are experiencing problems, perhaps in terms of the tutorial example, would be the best place to begin when asking for help.
The fact you are running it on a Window$ platform may limit the number of people here with applicable experience, so patience may be in order, but this forum is not restricted to Linux related questions only.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.