Thread: Heavy disc load
View Single Post
  #1 (permalink)  
Old June 5th, 2023
kermithermos kermithermos is offline
Disciple
 
Join Date: May 18th, 2023
Posts: 19
kermithermos is a great assister to others; your light through the dark tunnel
Default Heavy disc load

Hi,


compaired to other file sharing clients phex produces a lot of disc access even if there are only a few donwloads with slow connection (>10kb/s).


It looks like internal buffers are flushed too often. Log is filled with:
Code:
[DownloadDataWriter] DEBUG phex.download.DownloadDataWriter - Trigger buffer write for phex.download.swarming.SWDownloadFile@abcdef, amount: 0
There a few entries with amount > 0 but the values are small but disc load of hdd sound like it writes hundreds of MB every few second. Whats going on here?

How can I reduce disc load? Increase Buffersize in phex.io.BufferSize.java and the classe which use these entries of BuferSize.java (MangagedFile, MemoryFile,...)?

Last edited by kermithermos; June 5th, 2023 at 09:51 AM.
Reply With Quote