aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: transfer session chunk size  (Read 6766 times)

gav616

  • Guest
transfer session chunk size
« on: June 23, 2009, 01:35:52 PM »

10.00 MB  > 9.28 MB

reasons are;
correct and faster rotation of queue i.e. you can upload more full chunks in the same time as 10MB sessions.
mule devs say so.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: transfer session chunk size
« Reply #1 on: June 23, 2009, 03:09:52 PM »

What?
Logged

gav616

  • Guest
Re: transfer session chunk size
« Reply #2 on: June 23, 2009, 03:17:25 PM »

a request to change the amount to upload to each client in one session to 9.28MB (one full chunk) instead of  what amule currently does; 10MB.

Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: transfer session chunk size
« Reply #3 on: June 23, 2009, 03:27:50 PM »

... aMule uploads 10MB?
Logged

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570
Re: transfer session chunk size
« Reply #4 on: June 23, 2009, 03:30:08 PM »

In some cases, yes...it's something wrong with checkfortimerover() i think....
Logged

gav616

  • Guest
Re: transfer session chunk size
« Reply #5 on: June 23, 2009, 03:37:11 PM »

In some cases, yes...it's something wrong with checkfortimerover() i think....

for me, it's always 10mb.
Logged

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: transfer session chunk size
« Reply #6 on: June 23, 2009, 06:31:41 PM »

How do you check this?

I have a 699 MB file in my download queue and aMule says it's split in 76 parts. Which is approximately 9.28 MB each.
Logged

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570
Re: transfer session chunk size
« Reply #7 on: June 23, 2009, 07:06:00 PM »

Not this...

Shure the file is split every 9.28 MB!

The strange thing is that aMule uploads 10 MB to each client before kicking him from upload...

...try to see in uploadlist....if they're kicked after 10 MB or 9.28 MB...
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: transfer session chunk size
« Reply #8 on: June 23, 2009, 09:31:54 PM »

"Try to transfer full chunks..." in aMule always resulted in the upload being terminated after 10.00 MB uploaded. In eMule currently it's PARTSIZE+20*1024 = ~9.30 MB.
Logged
concordia cum veritate

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: transfer session chunk size
« Reply #9 on: June 23, 2009, 09:36:44 PM »

There's nothing strange about that.
Code: [Select]
if (thePrefs::TransferFullChunks()) {
// "Transfer full chunks": drop client after 10 MB upload, or after an hour.
// (so average UL speed should at least be 2.84 kB/s)
// We don't track what he is downloading, but if it's all from one chunk he gets it.
if (client->GetUpStartTimeDelay() > 3600000 // time: 1h
|| client->GetSessionUp() > 10485760) { // data: 10MB
kickHim = true;
}
} else {
The limit has been 10MB since before SVN.

eMule sends a bit less:
Code: (srchybrid\opcodes.h(96):) [Select]
#define SESSIONMAXTRANS   (PARTSIZE+20*1024) // "Try to send complete chunks" always sends this amount of data
- GonoszTopi beat me I see.  :)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570
Re: transfer session chunk size
« Reply #10 on: June 24, 2009, 02:31:45 AM »

- GonoszTopi beat me I see.  :)

Yep! :D
Logged

gav616

  • Guest
Re: transfer session chunk size
« Reply #11 on: June 24, 2009, 11:08:08 PM »

But, why does aMule send more?

I thought we (you) try  to stick to eMule protocol, so why 10 and not 9.28?
« Last Edit: June 27, 2009, 08:40:53 PM by gav616 »
Logged

gav616

  • Guest
Re: transfer session chunk size
« Reply #12 on: June 27, 2009, 08:41:33 PM »

anyone?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: transfer session chunk size
« Reply #13 on: June 27, 2009, 09:44:28 PM »

If nobody remembers a reason for the 10MB I'd reduce it to eMule's PARTSIZE + 20k. (Even though that's not exactly "protocol", gav616.)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: transfer session chunk size
« Reply #14 on: June 27, 2009, 10:54:26 PM »

It has nothing to do with protocol at all. This is just to try and ensure they're completing parts. eMule uploads less to make sure, we upload more. Nothing to see here.
Logged
Pages: [1] 2