Segmented downloading : Why the big deal?

Site Announcements
arnetheduck
Newbie
Posts: 8
Joined: Tue Mar 17, 2009 1:37 pm

Re: Segmented downloading : Why the big deal?

Post by arnetheduck » Mon Jan 03, 2011 8:08 pm

Ah, misunderstanding then, I was suggesting doing a separate benchmark app in any language (in the end, they all hit the os), not actually modifying dc++...

Quicksilver
Member
Posts: 56
Joined: Mon Aug 17, 2009 9:32 pm

Re: Segmented downloading : Why the big deal?

Post by Quicksilver » Fri Jan 07, 2011 7:53 am

I would have not choosen a different program.

Especially as I am still not sure how this all interacts with the cache on the hdd.
I don't know if we could properly map the behaviour of DC++ to a simple program.

Flow84
Newbie
Posts: 6
Joined: Sat Oct 18, 2008 11:05 am

Re: Segmented downloading : Why the big deal?

Post by Flow84 » Fri Jan 07, 2011 6:10 pm

arnetheduck wrote:Ah, misunderstanding then, I was suggesting doing a separate benchmark app in any language (in the end, they all hit the os), not actually modifying dc++...
I have developed a test app.
Please test and give me feedback.
It is writen in C# and should give you accurate speeds and so.

http://files.flowertwig.org/FlowerBench.7z

/Flow84

Quicksilver
Member
Posts: 56
Joined: Mon Aug 17, 2009 9:32 pm

Re: Segmented downloading : Why the big deal?

Post by Quicksilver » Sun Jan 09, 2011 4:26 pm

What does the program do? Its not selfexploratory!

Flow84
Newbie
Posts: 6
Joined: Sat Oct 18, 2008 11:05 am

Re: Segmented downloading : Why the big deal?

Post by Flow84 » Sun Jan 23, 2011 2:01 am

Quicksilver wrote:What does the program do? Its not selfexploratory!
Sorry for late answer.
This forum doesn't send out notifications...

It basically tries to read/write data to/from disk and show speed.
You can set buffer size, access type and more.

If I understand this thread right, it is what you wanted.
You can see speed impact depending on buffer size and more :)

Big Muscle
Junior Member
Posts: 39
Joined: Tue Jul 01, 2008 7:27 pm

Re: Segmented downloading : Why the big deal?

Post by Big Muscle » Mon Jan 24, 2011 3:00 pm

I reimplemented shared file stream into StrongDC++ : http://strongdc.svn.sf.net/viewvc/stron ... te#dirlist

However, one question comes to my mind. Shared file stream fixes the problem when file handle is destroyed at the end of each segment and new one is created at the beginning of next segment. But now it needs locking critical section for each read/write to ensure that changing file position and file operations are atomic. Now the question - doesn't such critical section bring more overhead than separate file handles?

Who is online

Users browsing this forum: Google (Crawler) and 0 guests