![]() |
|
|||||||
| Register | FAQ | The Twelve Commandments | Members List | Find the Best VPN | Today's Posts | Search |
| Help & Support Information on the useage and anything else of Phex
- Unless you are using or asking about PHEX, please do not post in this section (Get ”Phex 3.4.2.163 universal" now) |
![]() |
|
|
Thread Tools | Display Modes |
|
#11
|
|||
|
|||
|
Yes you are right, there are other threads in older logs when more than one downloads were active. The log from above was when only one download was activated. I stopped all other downloads bec of better overview in logs.
But why is it called so often? Is one call not enough? Its only called in the shutdown(), flushing here makes sense and in the BufferVolumeTracker I dont know what that is for. Ah theres this code in the inner class Sync extended from AbstractQueuedSynchronizer Code:
@Override
protected final int tryAcquireShared( int acquires )
{
for (;;)
{
int available = getState();
int remaining = available - acquires;
if ( remaining < 0 )
{
dataWriter.triggerWriteCycle();
return remaining;
}
if ( compareAndSetState(available, remaining) )
{
return remaining;
}
}
Seems the flushing of the buffer is never done in one step (or cannot be shure it is flushed 100%) and therefore this repeating calls until remaining is 0 to be shure all is flushed. That explains a least these massive log entries and maybe the strange disc access noise while writing (short access patterns). Increasing Buffer sized helped a little bit but is never smooth enough. The reason for this "fragmented writing noise" is probably this scopes play a role here, when the file parts are fragmented downloaded, the file size is increased from time to time to the highest fragments position. File is not created as a whole in the first place so you have real and bad fragmentation on disc. |
|
#12
|
|||
|
|||
|
Hello, everyone. It was useful to read. Now I understand why the buffer is cleared so often.
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Heavy Metal Fan | steffi | Getting Started Using LimeWire + WireShare | 12 | August 14th, 2006 11:20 PM |
| Airport base stations lock up under heavy load | jum | General Mac OSX Support | 2 | January 21st, 2004 10:59 AM |
| Can't load disc images | Telenet user | General Mac OSX Support | 1 | February 25th, 2003 07:16 AM |
| Some comments on XoloX, by a heavy user | Unregistered | User Experience | 1 | November 15th, 2001 03:10 AM |
| *Heavy handed moderation at BearshareNet | Editor | BearShare Open Discussion | 8 | May 26th, 2001 04:58 PM |