Official eMule-Board: Small Trick To Speed Up Emule And Windows - Official eMule-Board

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Small Trick To Speed Up Emule And Windows For those with big pipes, and others as well

#1 User is offline   netfinity 

  • Master of WARP
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1570
  • Joined: 23-April 04

Posted 30 September 2006 - 02:13 PM

Those of you that have big pipes (~10Mbit upload and download, or greater) might have noticed that both Windows and eMule becomes slow and unresponsive when the datarates increase.

My research shows that eMule and the virtual memory system in Windows obviously doesn't like each other, so I realised that you can get much better performance if you turn off the page file(s). Before you do that ensure that you atleast have 1GB of RAM as your PC could crash if you run out of memory.

Alternatively you can also buy 0.5GB + your_total_shared_file_size of RAM and install it that will also limit the use of the page file as there is never any need for that much memory but that is in my opinion far to expensive and the question would still be then, why bother with a page file when you have more RAM than you need.

So, my suggestion is get 2GB or more RAM and disable the page file and you will wonder why you haven't done it before. You'll love it!

/netfinity
eMule v0.49c [NetF WARP v0.3a.13] BETA
- Compiled for 32 and 64 bit Windows versions
- Faster file completion via Dynamic Block Requests and dropping of stalling sources
- Less GUI lockups through multi-threaded disk IO operations
- VIP "Payback" queue
- Crumbs (smaller part size)
- Fakealyzer (helps you chosing the right files)
- Quality Of Service to keep eMule from disturbing VoIP and other important applications (Vista only!)
0

#2 User is offline   Andu 

  • Morph Team
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 12735
  • Joined: 04-December 02

Posted 30 September 2006 - 02:19 PM

Isn't it enough to just use a predefined pagefile? I have e.g. set my pagefile to exactly 1GB.
Three Rings for the Elven-kings under the sky,
Seven for the Dwarf-lords in their halls of stone,
Nine for Mortal Men doomed to die,
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the Land of Mordor where the Shadows lie.


Dark Lord of the Forum


Morph your Mule

Need a little help with your MorphXT? Click here

0

#3 User is offline   qm2003 

  • V.I.P. (Volatile Indifferent Puppet)
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4424
  • Joined: 06-November 03

Posted 30 September 2006 - 02:29 PM

I guess this only matters when emule uses much, much more than the usual few upload slots.
Say 100+
Right ?

Do you have such a line, Andu ?

Everyone else with "normal" DSL, Cable connections, at least 512 MB RAM and a fixed page size should just be fine.
How to setup Emule. A small checklist | Schmu's MuleDoc
P2P is not piracy, it's marketing.
In fact, if your music or movie is NOT being downloaded, you should be WORRIED !
If you can't even give it away for free, how do you expect to sell it, stupid ?


I'm a bloodsucking fiend. Look at my outfit !
0

#4 User is offline   netfinity 

  • Master of WARP
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1570
  • Joined: 23-April 04

Posted 30 September 2006 - 02:29 PM

@Andu
No, because eMule need a lot of disk cache and causes Windows to flush any memory that hasn't been used for a time to page file and once it's needed again it will have to be reloaded from the disk again, causing the application to halt for a short moment. If those short moments happen very often Windows and eMule will feel slow.

@qm2003
Actually you will benefit from it even when not running eMule as long as you have enought memory. The page file is to solve the immidiate problems when memory is running low.

This post has been edited by netfinity: 30 September 2006 - 02:32 PM

eMule v0.49c [NetF WARP v0.3a.13] BETA
- Compiled for 32 and 64 bit Windows versions
- Faster file completion via Dynamic Block Requests and dropping of stalling sources
- Less GUI lockups through multi-threaded disk IO operations
- VIP "Payback" queue
- Crumbs (smaller part size)
- Fakealyzer (helps you chosing the right files)
- Quality Of Service to keep eMule from disturbing VoIP and other important applications (Vista only!)
0

#5 User is offline   qm2003 

  • V.I.P. (Volatile Indifferent Puppet)
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4424
  • Joined: 06-November 03

Posted 30 September 2006 - 02:39 PM

Hm,
i'll try it.

768 MB RAM should be enough to run without pagefile.
How to setup Emule. A small checklist | Schmu's MuleDoc
P2P is not piracy, it's marketing.
In fact, if your music or movie is NOT being downloaded, you should be WORRIED !
If you can't even give it away for free, how do you expect to sell it, stupid ?


I'm a bloodsucking fiend. Look at my outfit !
0

#6 User is offline   MadlyMad 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3736
  • Joined: 29-October 02

Posted 30 September 2006 - 03:14 PM

the other way is to buy a little 10.000 RPM Raptor HD, dedicated to the system =)
for about 90€ the 36 GB (in france)

Or a 15.000 RPM SCSI HD, but here the price is more than twice bigger for the same capacity :angelnot:

The extreme limit of wisdom, that is what the public calls madness.
0

#7 User is offline   celtwolf 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 06-November 03

Posted 30 September 2006 - 03:51 PM

Ill give this a try :+1:
0

#8 User is offline   qm2003 

  • V.I.P. (Volatile Indifferent Puppet)
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4424
  • Joined: 06-November 03

Posted 30 September 2006 - 04:14 PM

So far, so good.
Posted Image
How to setup Emule. A small checklist | Schmu's MuleDoc
P2P is not piracy, it's marketing.
In fact, if your music or movie is NOT being downloaded, you should be WORRIED !
If you can't even give it away for free, how do you expect to sell it, stupid ?


I'm a bloodsucking fiend. Look at my outfit !
0

#9 User is offline   Chip Zero 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 65
  • Joined: 29-February 04

Posted 30 September 2006 - 04:46 PM

Oh boy, not that myth again:

Quote

Myth - "Disabling the Paging File improves performance."

Reality - "You gain no performance improvement by turning off the Paging File. When certain applications start, they allocate a huge amount of memory (hundreds of megabytes typically set aside in virtual memory) even though they might not use it. If no paging file (pagefile.sys) is present, a memory-hogging application can quickly use a large chunk of RAM. Even worse, just a few such programs can bring a machine loaded with memory to a halt. Some applications (e.g., Adobe Photoshop) will display warnings on startup if no paging file is present." - Source

"In modern operating systems, including Windows, application programs and many system processes always reference memory using virtual memory addresses which are automatically translated to real (RAM) addresses by the hardware. Only core parts of the operating system kernel bypass this address translation and use real memory addresses directly. All processes (e.g. application executables) running under 32 bit Windows gets virtual memory addresses (a Virtual Address Space) going from 0 to 4,294,967,295 (2*32-1 = 4 GB), no matter how much RAM is actually installed on the computer. In the default Windows OS configuration, 2 GB of this virtual address space are designated for each process' private use and the other 2 GB are shared between all processes and the operating system. RAM is a limited resource, whereas virtual memory is, for most practical purposes, unlimited. There can be a large number of processes each with its own 2 GB of private virtual address space. When the memory in use by all the existing processes exceeds the amount of RAM available, the operating system will move pages (4 KB pieces) of one or more virtual address spaces to the computer's hard disk, thus freeing that RAM frame for other uses. In Windows systems, these "paged out" pages are stored in one or more files called pagefile.sys in the root of a partition. Virtual Memory is always in use, even when the memory required by all running processes does not exceed the amount of RAM installed on the system." - Source

If you really, really have enough ram you could set the page file to the minimum size of 2 MB (source). But even then I wouldn't recommend it, as you still limit the maximum amount of memory available. You should instead set up a fixed-size swap file; I'm using 3070 MB for my 2GB system.
0

#10 User is offline   netfinity 

  • Master of WARP
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1570
  • Joined: 23-April 04

Posted 30 September 2006 - 05:15 PM

View PostChip Zero, on Sep 30 2006, 06:46 PM, said:

Oh boy, not that myth again:

It's definitly not a myth. It might be under Unix like operatives, but not under Windows. Paging seriously slow down Windows, especially when you have slow harddisks. However, I tried it on a HP Proliant DL380 with 6 SCSI disk in a Raid 5 configuration and the response times where significantly faster after that. On my home PC, I got approx 5 times faster response times when switching between applications.

The problem with the virtual memory in Windows is that the OS tryes to maximise the amount of available memory and constantly flush to disk. This is not so much a problem under normal circumstances, but when an application like eMule is excessivily using the IO cache Windows will flush more memory than what is optimal from a performance point. So, if you have enought memory turning of the page file prevents those memory flushes.

The idea to get rid of the virtual memory actually comes from one of Bill Gates head engineers, who wants to rid it completly from future versions of Windows. Don't recall his name, only read the article in some newspaper a while ago.

[EDIT]I beleive however that you need an NT 5.x or later kernal for this to work properly as I recall I tryed this on Windows 3.11 a long time ago and that caused serious problems as programs refused to work without the page file. That is why I haven't attempted it until now, when I read somewhere that it was possible as long you had the memory. Things change in 12 years![/EDIT]

This post has been edited by netfinity: 30 September 2006 - 05:36 PM

eMule v0.49c [NetF WARP v0.3a.13] BETA
- Compiled for 32 and 64 bit Windows versions
- Faster file completion via Dynamic Block Requests and dropping of stalling sources
- Less GUI lockups through multi-threaded disk IO operations
- VIP "Payback" queue
- Crumbs (smaller part size)
- Fakealyzer (helps you chosing the right files)
- Quality Of Service to keep eMule from disturbing VoIP and other important applications (Vista only!)
0

#11 User is offline   Dick_Manitoba 

  • Nyet Nyet Soviet Soviet Jewellery
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1823
  • Joined: 17-August 04

Posted 30 September 2006 - 05:33 PM

Myth - Everyone needs a pagefile.

I do not question the veracity of those statements. However, let's get real here. There are many of us who are very familiar with our work patterns. If you intimately understand the relationship between RAM and your OS/application requirements of RAM, you can quite easily determine whether or not you need a page file.

For MOST people - I would say greater than 99 percent of the computer using populace - you should let your OS handle the page file as it does in it's default state.

For those that know what they are doing, you can make your own call as to whether you need one or not.

Yes, you could hit that memory brick wall. But if that is the case, you'll know why when you do, or, you do not know your work habits and system intimately, and thus, should not be tinkering with the page file to begin with.

Visit PunkHistoryCanada.ca and enjoy it's music at PHC Radio. Listen now!
::How To:: Learn about IP filters and fake files :: Info & Lists of Real and Fake servers
Remove Fake Servers & get good ones :: Post pictures on the web, no registration req'd
::Helpful sites:: DVD tools, tutorials, etc :: VLC video without codecs :: Codec info & downloads
GSpot Codec IDer :: Can't delete Locked files? :: Freedb aware players
::Free Virus Scans:: Trend Micro Housecall, Panda ActiveScan, Kaspersky Virusscanner, BitDefender
::My Favorite Applications::
::Archives:: IZarc : 7-Zip : WinRAR : WinACE : Any-OS Zip Tools and Source code - Info-ZIP
::Audio:: EAC : LAME : MP3 Book Helper (Tags etc)
0

#12 User is offline   Chip Zero 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 65
  • Joined: 29-February 04

Posted 30 September 2006 - 06:15 PM

Well, other than causing compatibility problems and limiting the available memory (640 KB ain't enough, Bill), there's another factor. Every time you load a program, it will allocate memory space for its use, even when it may only use a fraction of it later. Windows does lazy allocation, and allocates these unused pages to the virtual memory pool until actually used. This leaves physical memory available for a.o. file caching.

Anyway, for those casual power users that are really sure they don't need the pagefile, again, I recommend that you set it to the minimum size of 2 MB. This way, it won't break compatibility with applications that *require* the presence of a pagefile.
0

#13 User is offline   Gunman99 

  • Member
  • PipPip
  • Group: Members
  • Posts: 40
  • Joined: 02-January 03

Posted 30 September 2006 - 09:21 PM

Please post some numbers documenting that no pagefile improves performance. What might seem like a good idea may turn out to have no practical impact, or give worse performance.

This post has been edited by Gunman99: 30 September 2006 - 09:22 PM

0

#14 User is offline   harfman 

  • Member
  • PipPip
  • Group: Members
  • Posts: 21
  • Joined: 03-January 06

Posted 01 October 2006 - 07:13 AM

paging is harmful for OS when such a emule program that requires temporary and random disk I/O.
cache(page) will be filled with garbage stuff and continuossly faulted and eat memory and this decreases performance.
i think that bypassing normal disk I/O of OS will be the solution of this problem, but it is dangerous.

PS: why emule requires so much memory. i have 384M memory and when emule use above 80k my system is burdened.
is there any way that saves memory?

This post has been edited by harfman: 01 October 2006 - 07:15 AM

0

#15 User is offline   qm2003 

  • V.I.P. (Volatile Indifferent Puppet)
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4424
  • Joined: 06-November 03

Posted 01 October 2006 - 07:22 AM

Reduce (per! ) file buffer and queue size, refrain from using KAD.
Reduce your number of downloads and found sources.
Don't share thousands of files.

I guess, thats about it.
How to setup Emule. A small checklist | Schmu's MuleDoc
P2P is not piracy, it's marketing.
In fact, if your music or movie is NOT being downloaded, you should be WORRIED !
If you can't even give it away for free, how do you expect to sell it, stupid ?


I'm a bloodsucking fiend. Look at my outfit !
0

#16 User is offline   Stewe 

  • 海賊
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 790
  • Joined: 22-November 03

Posted 01 October 2006 - 08:18 AM

View Postqm2003, on Oct 1 2006, 07:22 AM, said:

Reduce (per! ) file buffer and queue size, refrain from using KAD.
Reduce your number of downloads and found sources.
Don't share thousands of files.

I guess, thats about it.


One more thing, reduce the number of uploads to the minimum required to reach the upload cap. The results variates but for me it cuts down the amount of upload slots to about half.
Increase the size of your download by 50%, <a href='http://www.emule-project.net/home/perl/help.cgi?l=1' target='_blank'>RTFM!</a>
0

#17 User is offline   netfinity 

  • Master of WARP
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1570
  • Joined: 23-April 04

Posted 01 October 2006 - 08:44 AM

You can also turn off eMule and swap floppies via snail-mail as in the good old days!
eMule v0.49c [NetF WARP v0.3a.13] BETA
- Compiled for 32 and 64 bit Windows versions
- Faster file completion via Dynamic Block Requests and dropping of stalling sources
- Less GUI lockups through multi-threaded disk IO operations
- VIP "Payback" queue
- Crumbs (smaller part size)
- Fakealyzer (helps you chosing the right files)
- Quality Of Service to keep eMule from disturbing VoIP and other important applications (Vista only!)
0

#18 User is offline   poutnik 

  • Mostly harmless idea generator
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 491
  • Joined: 10-January 05

Posted 01 October 2006 - 09:01 AM

We from very old good days know floppies are unreliable. Better to print out hexa content of files to paper and use keybord input... :P
and use its autocorrection feature: keybord=keyboard

This post has been edited by poutnik: 01 October 2006 - 09:02 AM

Well intended bad ideas should be rejected in a kind way.
Discussing your ideas means they are, or at least could be good, so it is positive event. :)
Non-english speaker easily misses the target when reading/searching before asking....
0

#19 User is offline   AndreyG 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 01-October 06

Posted 01 October 2006 - 06:46 PM

Cheers everyone,

I installed eMule and trying it but never see speed higher then 10kB/s.
While read Help it tells me typical speed 20 - 30 kB/s
Is that true?
If so, how it is possible to download large files in reasonable time?
(for what I want it tells me download time 2days !! something)
Isn't ftp: method faster?
0

#20 User is offline   poutnik 

  • Mostly harmless idea generator
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 491
  • Joined: 10-January 05

Posted 01 October 2006 - 07:05 PM

It is not true. e.g. once I have downloaded 3 GB DVD iso in 4 hours.
Max speed reached my DL 512 kB/s capacity. (Well, it is a positive extrem)
FTP, so does BT is often faster. If you can get everything you want from them, stick with them. ;-)

BTW many people complains about eMule BEFORE they have tried to read helps, guides, FAQs.
Do you think e.g. BT would be so fast, if every user is running hundreds, or even thousands of torrents simultaneously ?

Edit : In some other forums User short after registration is not allowed to post.
This gives him more time for searching and reading, speeding up start of his learning curve...

This post has been edited by poutnik: 01 October 2006 - 07:10 PM

Well intended bad ideas should be rejected in a kind way.
Discussing your ideas means they are, or at least could be good, so it is positive event. :)
Non-english speaker easily misses the target when reading/searching before asking....
0

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users