Skip to content

Mars-Albert/osnvodsim

Repository files navigation

osnvodsim

an online social network based p2p video-on-demand simulator!

you shold specify the configuration xmls to run:

a sample xml like this:

2 500 random 1234567890 0.2 4 sports 10 50 games 10 100 5 0.8 0.8 0.7 0.8 500 500 500 500 5 15 0.07 1 3 0.79 0.5 1.5 0.14 0.1
	<video_rate>1</video_rate>
    <chunk_size>1</chunk_size>
    <message_size>0.1</message_size>

	<min_latency>0.02</min_latency>
	<max_latency>0.5</max_latency>
	<overlay_type>random</overlay_type>
	<peer_type>pull_based</peer_type>
	<degree>8</degree>
	<packet_lose>0.1</packet_lose>
	<packet_time_out>4</packet_time_out>
	<cache_management_policy>least</cache_management_policy>
	<cache_check_cycle>0.5</cache_check_cycle>
</distribution>
<printing_result>
	<output_root_path>\</output_root_path>
	<user_activity_information>user-activity-info.txt</user_activity_information>
	<distribution_information>distribution-info.txt</distribution_information>
	<system_information>system-info.txt</system_information>	
	<statistics>statistics.txt</statistics>
</printing_result>

About

an online social network based p2p video-on-demand simulator!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages