[Nfd-dev] maximun erasable entries for CS (nfdc cs erase)
Aman Maldar
amanmaldar at gmail.com
Mon Sep 24 20:52:00 PDT 2018
Hello All,
I am running
> nfdc cs erase <prefix_name> count <number>
I see maximum number of entries that are deleted in single command are
restricted to 256.
I have apprx. 65000 entries in CS and I wanted to delete big chunk at once.
I can do this by using a loop, but just want to check if this feature has
been built with count = max 256.
See the steps below
lenovo at lenovo-VirtualBox:~$ nfdc cs info
CS information:
capacity=65536
admit=on
serve=on
* nEntries=63708*
nHits=80000
nMisses=80134
lenovo at lenovo-VirtualBox:~$ nfdc cs erase /ndn/d-site count 200
(works well for count = 200)
cs-erased prefix=/ndn/d-site count=200 has-more=no
lenovo at lenovo-VirtualBox:~$ nfdc cs erase /ndn/d-site count 400
(Note - Even if I put 400 as count, only 256 entries are deleted)
cs-erased prefix=/ndn/d-site count=256 has-more=yes
lenovo at lenovo-VirtualBox:~$ nfdc cs erase /ndn/d-site count 10000
cs-erased prefix=/ndn/d-site count=256 has-more=yes
lenovo at lenovo-VirtualBox:~$ nfdc cs info
CS information:
capacity=65536
admit=on
serve=on
nEntries=62999
nHits=80000
nMisses=80146
Thanks in Advance.
- Aman
--
*Regards,*
*Mr. Maldar Aman M.*
*University of Massachusetts, Lowell*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20180924/b53119b6/attachment.html>
More information about the Nfd-dev
mailing list