Sivachandran Paramasivam
2016-12-01 09:42:49 UTC
Hi,
I am seeding my files from NFS. I am observing slow uploading rate compared
to disk based seeding with same set of files and peers.
I dumped the sessions stats, added logs to default_storage and found that
the files are read as 16KB block size. Reading 16KB from disk is a lot
faster than reading from network. But through a sample application I found
that if I read large data(e.g. 4MB, 8MB) from network then the latency is
amortized and network storage is on-par with disk storage in reading speed.
Now my question is, is there way in libtorrent to coalesce multiple
reads(16KB) into one large read for a non-http transfer? Or is there a way
to increase the block size for reads?
Thanks,
Sivachandran Paramasivam
------------------------------------------------------------------------------
I am seeding my files from NFS. I am observing slow uploading rate compared
to disk based seeding with same set of files and peers.
I dumped the sessions stats, added logs to default_storage and found that
the files are read as 16KB block size. Reading 16KB from disk is a lot
faster than reading from network. But through a sample application I found
that if I read large data(e.g. 4MB, 8MB) from network then the latency is
amortized and network storage is on-par with disk storage in reading speed.
Now my question is, is there way in libtorrent to coalesce multiple
reads(16KB) into one large read for a non-http transfer? Or is there a way
to increase the block size for reads?
Thanks,
Sivachandran Paramasivam
------------------------------------------------------------------------------