aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: HDD overkill  (Read 3314 times)

macias

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
HDD overkill
« on: September 26, 2006, 09:12:16 PM »

From time to time (too often really) aMule tries to do something that looks like reorganization of files. Whole system becomes unoperational, HDD works like crazy, mouse cursor cannot be moved, the screen is not refreshed. I have 2GHz CPU but even waiting over an hour to see what will happen does not work.

There was not single time I manage to get the control of the system -- I was forced to hard shutdown the computer.
Logged

Menion

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
  • Winter is coming...
RE: HDD overkill
« Reply #1 on: October 07, 2006, 10:51:49 AM »

Looks like a files rehash...
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: HDD overkill
« Reply #2 on: October 08, 2006, 07:23:17 AM »

Actually, it looks like VM exhaustion to me.  Macias, make sure you have plenty of free disk space on your swap partition.
Logged

macias

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: HDD overkill
« Reply #3 on: October 08, 2006, 08:10:10 AM »

I don't have swap partition at all. I set it on purpose -- 2GB of RAM should be sufficient enough (not for amule, for every app I work with). When running amule I typically have gdb (for amule), kdevelop, konqueror and konsole loaded.
Logged

VinylPusher

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: HDD overkill
« Reply #4 on: November 04, 2006, 04:19:32 PM »

Not to get into an off-topic debate, but please take a look at http://sourcefrog.net/weblog/software/linux-kernel/swap.html

You might find the explanation there.

In short, you will see a lot more disk paging than normal because you've got no swap space. Every single process is residing in your RAM (even processes that haven't been used in a very long time). These would normally be swapped out, to enable all your oft-used processes to use available RAM.
Logged

macias

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: HDD overkill
« Reply #5 on: November 04, 2006, 04:31:42 PM »

Quote
Originally posted by VinylPusher
In short, you will see a lot more disk paging than normal because you've got no swap space. Every single process is residing in your RAM (even processes that haven't been used in a very long time). These would normally be swapped out, to enable all your oft-used processes to use available RAM.

Thank you, I understand the general idea, but the result -- no. I cannot agree that 1GB of RAM + 1 GB of swap does something better than just plain 2GB of RAM (put any values you like). Besides I didn't tell I am out of RAM while running aMule and most important -- only aMule kills my HDD. So I guess there are some assumptions in aMule code about swap, memory available, or just not very well optimized algorithm X (X -- because I still don't know what it does).

Now I will try to keep moderate download files number (<100) -- I will see if aMule handles this better.

have a nice day
bye
Logged