readme

来自「基于chord算法的p2p文件系统。A p2p file system base」· 代码 · 共 37 行

TXT
37
字号
This directory contains several examples of simulated scenarios. Thesimulated scenarios are described in the *.sc files. To run such anexample do the followings (NOTE: see ../README for a detaileddescription of the *.sc and *.ev files):a) use traffic_gen to create the event file (*.ev) based on thedescription of the simulated scenarioExample:>..\traffic_gen simple.sc 10 >! simple.evb) run the simulation on the resulting event fileExample:>..\sim -i simple.ev -s 11The output of sim records each simulated event. For documentinsertions and queries we also give the number of hops and timeouts ofthe lookup operation to locate the document. A timeout occurs when theoperation initiator contacts a dead finger. In this case, theinitiator backtracks and tries the next best finger.The output also displays the status of each node at the end of thesimulation, i.e., its finger list, document list, and the list ofoutstanding requests, if any.The "pending documents" displays the list of documents whose insertionhas failed. This list is used to differentiate between the documentswhich are not found because the insertion of these documents failed inthe first place, and other failure cases. For a detailed discussionsee ../README

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?