[opensuse] Partially seeding OpenSUSE 10.3 DVD
Hi everyone! I'm currently seeding the DVD for OpenSUSE 10.3. Just one problem: Since the file is ~4GB it does not fit into RAM, so Azureus is _constantly_ causing disk access. What I want to do is tell Azureus to randomly select, say, 500MB of the file and only seed _this_ part. That way, all data could come from the fs-cache and the hard disk could be completely silent. Is there a way to do this in Azureus (or any other program)? I googled for a solution, but could not find anything that I can use. Thanks nordi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Fri, 05 Oct 2007, by nordi@addcom.de:
Hi everyone!
I'm currently seeding the DVD for OpenSUSE 10.3. Just one problem: Since the file is ~4GB it does not fit into RAM, so Azureus is _constantly_ causing disk access.
What I want to do is tell Azureus to randomly select, say, 500MB of the file and only seed _this_ part. That way, all data could come from the fs-cache and the hard disk could be completely silent. Is there a way to do this in Azureus (or any other program)? I googled for a solution, but could not find anything that I can use.
No idea, but maybe you can try to put the iso on a flash device (USB stick) and seed from there? Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.20 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Theo v. Werkhoven wrote:
No idea, but maybe you can try to put the iso on a flash device (USB stick) and seed from there?
Hm, the biggest flash devices I have are 2GB. Is there really no bittorrent client that implements this feature? I don't think I am the only one that is annoyed by the constant clicking of the disk. I mean, I really wouldn't mind to seed the DVD for the next couple of weeks/months. But if the constant disk access is going to annoy me, break the disk and slow down my system I'm not going to do this. Maybe I should just file a feature request in the Azureus bug tracker. It's just that I cannot imagine I am the first one that had this idea... Regards nordi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 05 October 2007 11:57, nordi wrote:
Hi everyone!
I'm currently seeding the DVD for OpenSUSE 10.3. Just one problem: Since the file is ~4GB it does not fit into RAM, so Azureus is _constantly_ causing disk access.
How much outbound bandwidth do you have? As a home ADSL user, I have so little outbound speed that it hardly matters what is the pattern of access. _Constant_ disk access is relative, of course, and not really such a bad thing, unless it is so severe as to impede other system activity. The worst effect it's likely to have is to perturb the kernel disk / FS cache, filling it with file data unused by any other application. Incidentally, if there are any Linux programmers reading, are there file access options or modes that inhibit caching? The kind of thing you'd use if you were writing, say, DVD burning software, where you know that once you read the block you're never going to need it again?
...
Thanks nordi
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
How much outbound bandwidth do you have? As a home ADSL user, I have so little outbound speed that it hardly matters what is the pattern of access. I have almost 50kB/s, so if pieces are 256kB, I should get a disc access every ~5 seconds. Interestingly, I get disc accesses more frequently (every ~2 seconds) even though I turned on Azureus' own caching and its
Randall R Schulz wrote: prefetch feature that is supposed to reduce disc access while uploading. It's a separate disc that only Azureus is accessing...
The worst effect it's likely to have is to perturb the kernel disk / FS cache, filling it with file data unused by any other application. Yes, that is another thing. And it is probably not good for the disc to move around every 2 seconds all day long.
Incidentally, if there are any Linux programmers reading, are there file access options or modes that inhibit caching? Use O_DIRECT when opening the file, this should do the job according to "man 2 open". In the case of Azureus, the caching is useful in some situations. If you are seeding only one or two 'small' files (~100MB) it means Azureus can run without any disc access after a while.
Regards nordi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 09 October 2007 10:21, nordi wrote:
...
Yes, that is another thing. And it is probably not good for the disc to move around every 2 seconds all day long.
You're kidding, right? That's virtually an idle drive.
Incidentally, if there are any Linux programmers reading, are there file access options or modes that inhibit caching?
Use O_DIRECT when opening the file, this should do the job according to "man 2 open". In the case of Azureus, the caching is useful in some situations. If you are seeding only one or two 'small' files (~100MB) it means Azureus can run without any disc access after a while.
Azureus is a Java application. The problem with these platform-specific access options is that the Java libraries don't provide any means of accessing them. To exploit them, Azureus would need a custom I/O library with native implementations to optimize it for each platform on which it runs. But since it's an SWT application, it's already not 100% pure Java, so I suppose that wouldn't be as much of step back as it would be for most Java applications.
Regards nordi
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz wrote
On Tuesday 09 October 2007 10:21, nordi wrote:
...
Yes, that is another thing. And it is probably not good for the disc to move around every 2 seconds all day long.
You're kidding, right? That's virtually an idle drive.
This is a _laptop_, so these disc accesses mean that I hear a 'click' every 2 seconds. It is truly annoying if you are trying to concentrate on something (e.g. reading documentation). In summary, seeding a DVD causes the following problems - noise due to disc head moving - performance problems (waste of fs-cache, disc accesses) - keeps disc busy (no sleep mode, disc will fail sooner) And these issues should get worse the more upstream bandwidth one has. Someone with a bit more bandwidth than me would hear his laptop make a click every second or even several clicks per second. All day long. Regards nordi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 09 October 2007 12:49, nordi wrote:
Randall R Schulz wrote
On Tuesday 09 October 2007 10:21, nordi wrote:
...
Yes, that is another thing. And it is probably not good for the disc to move around every 2 seconds all day long.
You're kidding, right? That's virtually an idle drive.
This is a _laptop_,
Then why are you seeding a torrent? You do have a primary system for things like this, don't you?
...
Regards nordi
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
nordi
-
Randall R Schulz
-
Theo v. Werkhoven