Jump to content

µTorrent 1.6 released


Firon

Recommended Posts

Swap is the HDD memory used by a program.

My disk cache settings are something like this: everything but "Increase automatic cache size when cache trashing" ticked (I have set it to use 128MB of cache, hoping it can reduce the use of page file). What I want to do is send µTorrent to work with RAM, not with PF too. What I am trying to say is that I want it to use much more ram and far less PF. I don't mind taking lots of RAM to cache and a few MB from the PF.

Link to comment
Share on other sites

  • Replies 255
  • Created
  • Last Reply

Top Posters In This Topic

going around windows's cache is a good idea too..

now it downloads stuff and caches, then tells windows to write to the disk and it starts using its own cache and decides when to write - double caching.. windows's cache management sucks, it sometimes grows too much than it's supposed to and decreases performance..

Link to comment
Share on other sites

Frankly (no offense), I've yet to see you present any new ideas. Storing all the data in RAM or in some RAM drive has already been requested. Most of your other posts were posts regarding the disk cache, and you've a post agreeing with tjobo's idea about using treeview in the Add New Torrent dialog.

Link to comment
Share on other sites

Frankly, you are right. I was reffering in general (it was a kind of a joke), not about my great ideas :).

Hey, I know what I've posted and I have never pretened to have said something other than this before on this forum, but I've got time to do it. I love free stuff and I respect the developers. Ultima, just chill, I'm not like that.

Oh, yeah, and none taken :).

Anyway, I would of done almost the same thing.

Link to comment
Share on other sites

I was joking for sure. I don't usually say stuff I don't mean and don't do or lie about what I've done :).

Either way, this is not a bad ideea (whomever said it the first time) and should be implemented. The use of VM is not a good ideea, as it uses the damn slow HDD instead of the super fast RAM.

Link to comment
Share on other sites

not exactly the best method anyway, i've always find that giving the pagefile even something as low as 120MB can help a lot even if u have a 3-4GB RAM on you and dont want anything to be paged, i always find my PC is more responsive to having at least the lowest of pagefiles

Link to comment
Share on other sites

Regarding your post I did some searching on the web.

A) Appearantly windows does move seemingly unused memory to the pagefile even if you have enough physical memory free. This means that if you have a couple of memory intensive apps running, then you idle for 30 mins and then click on the applications part of those applications memory has been moved to the pagefile resulting in slower reaction time. (Disabling pagefile would prevent this.)

B) Another thing is that windows regardless whether the pagefile has been enabled or disabled can remove loaded .exe and .dll from memory when it feels it needs to page something (it can just reload those from the harddisk when needed again). I couldn't exactly find when windows feels it needs to page something (maybe with a lot of free physical memory it will never feel it needs to page). However if the pagefile is disabled and then windows feels it needs to page something the only option is to unload these .exe's or .dll's. (With the pagefile enabled it would also have the option to just page out unused memory to the swapfile which in most cases would hamper performance less.)

However it looks like this can be disabled (not 100% sure):

http://technet2.microsoft.com/WindowsServer/en/library/3d3b3c16-c901-46de-8485-166a819af3ad1033.mspx?mfr=true

C) Without a pagefile your memory would run out faster. Not only because of the actual size of the total memory. But because windows accepts and denies commit requests (the pretty much permenant assignement of memory to an application I think) based on the total memory (physical+pagefile). If the memory begins to fill up 'commit' request might be denied resulting in software refusing to run or crashing. (With the pagefile enabled windows will accept more commit requests because the total memory is larger.)

D) Without a pagefile some software complains or even refuses to run.

This is all I could find right now.

I'm considering two options:

1) Assume that the regedit will prevent problem B and my physical ram is big enough to never encounter problem C (I used to have 1GB Physical + 2GB Pagefile. Now I have 3GB Physical. Which should lead to about the same limit of 'commit' requests.). Problem A is solved however problem D would still exists.

2) Create a ramdisk and create a medium (512MB-ish) pagefile there. This would prevent problem B (the OS will first pageout unused memory instead of deleting loaded .exe's & .dll's from memory) but I'll still change the reg. Problem A would be nihil because the loading from pagefile happens at about the same speed as from physical memory. Problem C will be the same (3GB physical or 2,5GB physical + 512MB pagefile shouldn't matter much). And this would solve problem D. However this requires running some extra (sadly not free) software.

Btw I think the reason ur system runs faster is because of problem B. Which means problem B is serious enough to noticably affect performance. Problem A would be less noticable. It would manifest most notably when activating an application that was idling for a reasonable amounth of time but it also affects general performance. Problem D is only relevant if you use software that complains or refuses to work which I do not. (FYI: Photoshop (I don't use it myself) is know to complain about lack of a pagefile but using a pagefile on a ramdisk is known to improve the performace of Photoshop a lot.) Problem C hardly happens, you can of course keep opening big applications until you get an error but during normal use (even by intensive users) it doesn't seem to happen. (I've never had it happen to me when I had 1GB physical + 2GB pagefile. So I assume its not gona happen now either with 3GB physical.)

Some sources:

http://blogs.msdn.com/larryosterman/archive/2004/05/05/126532.aspx

http://www.codinghorror.com/blog/archives/000422.html

http://www.atomicmpc.com.au/forums.asp?s=2&c=21&t=691&p=20 (post 13)

http://www.neoseeker.com/Articles/Hardware/Guides/winxptweak/3.html

http://technet2.microsoft.com/WindowsServer/en/library/3d3b3c16-c901-46de-8485-166a819af3ad1033.mspx?mfr=true

Link to comment
Share on other sites

http://www.cenatek.com/product_ramdisk.cfm

http://users.compaqnet.be/cn021945/RAMDisk/ramdriv.htm

As I said. Decent RAMdisk software is not free. If someone knows of a free version that allows these function (>1 GB drive, image loading and saving, and "Ability to load a raw disk image to format and populate the ramdisk at driver initialization" is a very handy option) I'd like to know myself.

Btw, sorry for the off-topic post.

Link to comment
Share on other sites

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...