Arvid Norberg
|
5576a98d04
|
log session_stats to /var/log/ on unixes
|
2011-11-13 08:12:11 +00:00 |
Arvid Norberg
|
2330520c51
|
change the add_torrent_params API to use flags instead of a bunch of bools (but leave it backwards compatible)
|
2011-11-08 05:36:22 +00:00 |
Arvid Norberg
|
b85727c633
|
another channel state fix
|
2011-10-28 23:08:52 +00:00 |
Arvid Norberg
|
0a2b352795
|
possible dangling pointer fix in broadcast_socket
|
2011-10-25 05:55:32 +00:00 |
Arvid Norberg
|
15f20c887d
|
fix msvc build
|
2011-10-22 17:44:40 +00:00 |
Arvid Norberg
|
95e462e750
|
windows version of CPU time measurement
|
2011-10-18 00:42:05 +00:00 |
Arvid Norberg
|
7d20c0b0c4
|
log CPU usage of network thread
|
2011-10-17 17:12:08 +00:00 |
Arvid Norberg
|
8b6522a763
|
log buffer sizes passed to read() and write() at the socket layer (to identify performane problems)
|
2011-10-17 06:54:02 +00:00 |
Arvid Norberg
|
aab4cb6937
|
log number of asio messages passed through the queue per second (to track down performance issue)
|
2011-10-17 05:17:21 +00:00 |
Arvid Norberg
|
01405f32ee
|
added async_add_torrent for increased performance when adding many torrents (no documentation yet though)
|
2011-10-12 10:27:17 +00:00 |
Arvid Norberg
|
744a3be65d
|
also use separate lower limits for up and download rates in the TCP/uTP mixed mode algorithm
|
2011-10-11 05:05:09 +00:00 |
Arvid Norberg
|
8aed4eaa7f
|
improve TCP/uTP mixed mode algorithm by only taking peers into account that have outstanding requests (and want to send or expect to receive). Also throttle upload and download independently
|
2011-10-11 05:00:35 +00:00 |
Arvid Norberg
|
2741563711
|
set alert_mask early
|
2011-10-08 09:52:36 +00:00 |
Arvid Norberg
|
d535e6b1ee
|
fix setting of disk_io_write_mode and disk_io_read_mode in set_settings
|
2011-09-28 18:14:48 +00:00 |
Arvid Norberg
|
d54c85d31b
|
log uTP receive delay in stats log
|
2011-09-28 00:03:12 +00:00 |
Arvid Norberg
|
85db40e2c5
|
log outstanding reading bytes from peers in stats log
|
2011-09-23 20:57:42 +00:00 |
Arvid Norberg
|
bf4ba45bf3
|
remove invalid assert in session_impl::listen_on
|
2011-09-22 21:30:46 +00:00 |
Arvid Norberg
|
7a50255865
|
improved struct layout debug logging and optimized some structs
|
2011-09-21 09:27:07 +00:00 |
Arvid Norberg
|
f5b5160169
|
add incoming_connection_alert for logging all successful incoming connections
|
2011-09-17 01:44:05 +00:00 |
Arvid Norberg
|
6271ee58f6
|
fix overflow issue in default disk write queue size limit
|
2011-09-14 06:22:45 +00:00 |
Arvid Norberg
|
469414d486
|
initial BitTorrent over SSL support
|
2011-09-12 03:51:49 +00:00 |
Arvid Norberg
|
90372b6caf
|
fixed bug in auto manager which would never enable local peer discovery for torrents
|
2011-09-11 03:39:24 +00:00 |
Arvid Norberg
|
e7185b519b
|
fix some release asserts
|
2011-08-27 09:47:36 +00:00 |
Arvid Norberg
|
6dd9a7d83a
|
don't post 'operation aborted' UDP errors when changing listen port
|
2011-08-21 01:55:38 +00:00 |
Arvid Norberg
|
3e505f01fc
|
fix issue where torrents could 'get stuck' queued for checking (if they were paused)
|
2011-08-06 17:54:33 +00:00 |
Arvid Norberg
|
855e5a1acb
|
fixed typo in settings map
|
2011-08-01 04:10:01 +00:00 |
Arvid Norberg
|
0d959ed697
|
fix disk thread settings update bug when changing session_settings::lock_files
|
2011-07-10 01:36:18 +00:00 |
Arvid Norberg
|
da0560f129
|
fixed typo in previous check-in
|
2011-07-03 20:39:24 +00:00 |
Arvid Norberg
|
0068f48646
|
vm stats logging for linux
|
2011-07-03 20:07:20 +00:00 |
Arvid Norberg
|
de3ea9214a
|
log a low-pass filtered iops to stats log
|
2011-07-03 17:21:45 +00:00 |
Arvid Norberg
|
90d8030269
|
log VM stats alongside the session stats
|
2011-06-28 22:20:34 +00:00 |
Arvid Norberg
|
209b9e4186
|
make disk timing be average over the last second. fixed some other bugs in previous changes
|
2011-06-26 19:45:33 +00:00 |
Arvid Norberg
|
c647e95244
|
adjust default read cache line size and log IOPS in session stats
|
2011-06-26 19:00:40 +00:00 |
Arvid Norberg
|
2e70f92003
|
back ported simplification of stats logging code from aio branch
|
2011-06-26 18:43:23 +00:00 |
Arvid Norberg
|
c390dd5858
|
measure uTP send delay and log it in stats log. change unit on times to seconds (from milliseconds and microseconds)
|
2011-06-21 07:44:13 +00:00 |
Arvid Norberg
|
ae3fc48b80
|
add some session settings to the settings map
|
2011-06-21 04:39:04 +00:00 |
Arvid Norberg
|
de799e1100
|
fix issue in session_impl::remove_torrent which would cause it to throw
|
2011-06-21 02:02:58 +00:00 |
Arvid Norberg
|
39a68729a5
|
add instrumentation for mixed mode
|
2011-06-20 04:33:46 +00:00 |
Arvid Norberg
|
ec30fe5f9b
|
fix build issue with statistics enabled
|
2011-06-16 00:28:36 +00:00 |
Arvid Norberg
|
78c6bd3b08
|
fix signature for set_alert_mask
|
2011-06-13 16:46:46 +00:00 |
Arvid Norberg
|
a5c3554a87
|
log number of peers in end-game mode
|
2011-06-13 16:20:21 +00:00 |
Arvid Norberg
|
67ad61fd0a
|
fix invalid assert for resume data being loaded
|
2011-06-09 05:46:47 +00:00 |
Arvid Norberg
|
b8614a36b3
|
fix resume state for paused when torrent was in graceful pause mode
|
2011-06-05 20:48:00 +00:00 |
Arvid Norberg
|
68dee0342b
|
minor fix
|
2011-06-05 06:32:00 +00:00 |
Arvid Norberg
|
df003ef57c
|
fix checking behavior when pausing/resuming the session
|
2011-06-05 03:06:34 +00:00 |
Arvid Norberg
|
ebba1f3c57
|
fix assert when pausing session while checking torrents
|
2011-06-03 08:40:13 +00:00 |
Arvid Norberg
|
05e91f1a6d
|
fix uninitialized sequence number for session stats logs
|
2011-06-01 07:06:20 +00:00 |
Arvid Norberg
|
88fa0b9393
|
optimize send buffer allocation and deallocation by not allowing requiring contiguous buffers
|
2011-05-19 02:41:28 +00:00 |
Arvid Norberg
|
6e23b9f5a6
|
allow torrents to keep running when they encounter an error (such as disk full) but still report the error in the torrent's error string
|
2011-05-16 07:47:21 +00:00 |
Arvid Norberg
|
e946ba654f
|
release assert fixes
|
2011-05-08 23:52:06 +00:00 |
Arvid Norberg
|
a73960aa5a
|
support release asserts
|
2011-05-08 09:04:59 +00:00 |
Arvid Norberg
|
eaea22be71
|
make torrent priority stricly prefer unchoking peers on high priority torrents
|
2011-04-30 20:33:35 +00:00 |
Arvid Norberg
|
58ea6f5b3c
|
don't start the next checking torrent when the session is paused
|
2011-04-28 07:54:57 +00:00 |
Arvid Norberg
|
2eff66c9b0
|
removed invalid assert
|
2011-04-26 16:22:21 +00:00 |
Arvid Norberg
|
83fe560aa2
|
fixed uninitialized stats logger
|
2011-04-26 07:05:26 +00:00 |
Arvid Norberg
|
35d8f7bc19
|
fix assert when checking multiple torrents and pausing session
|
2011-04-10 22:05:28 +00:00 |
Arvid Norberg
|
78ef442997
|
clear log file pointer
|
2011-04-06 07:58:29 +00:00 |
Arvid Norberg
|
35038bc3eb
|
fix rotating logs when enabling and disabling stats logging at run-time
|
2011-04-06 07:33:10 +00:00 |
Arvid Norberg
|
22f20253f8
|
support turning logging on and off during run-time when built with stats logging
|
2011-04-06 06:27:42 +00:00 |
Arvid Norberg
|
572f176f99
|
fix assert when removing a torrent
|
2011-04-02 20:05:44 +00:00 |
Arvid Norberg
|
d4a9a9ae77
|
fixed issue in session_impl::on_disk
|
2011-04-01 08:08:41 +00:00 |
Arvid Norberg
|
113fa0ba3d
|
fixed some shadowed variable warnings
|
2011-03-30 16:03:35 +00:00 |
Arvid Norberg
|
fdd23fc629
|
introduce a lower pass download/upload rate and report in session log
|
2011-03-27 20:58:43 +00:00 |
Arvid Norberg
|
f6a42863e3
|
try to optimize disk write performance by raising the low watermark (for disk thread queue) to start reading from sockets and also post the start-reading event earlier. Also implement fair round-robin of which peers get to start downloading on this event
|
2011-03-27 20:35:38 +00:00 |
Arvid Norberg
|
346a6fb175
|
another read job starvation fix + some more logging
|
2011-03-27 08:21:26 +00:00 |
Arvid Norberg
|
3d826ae32f
|
figured out the weirdness in the session rate stats
|
2011-03-25 07:49:32 +00:00 |
Arvid Norberg
|
1ab853db40
|
properly back off when accept() returns EMFILE
|
2011-03-23 08:49:26 +00:00 |
Arvid Norberg
|
e9459b4df8
|
rss fixes
|
2011-03-23 02:46:22 +00:00 |
Arvid Norberg
|
d3f0875ed5
|
fixed division by zero
|
2011-03-21 08:19:00 +00:00 |
Arvid Norberg
|
54dd2a06f5
|
add rss support to client_test
|
2011-03-21 04:59:45 +00:00 |
Arvid Norberg
|
2dfd1a972b
|
prevent read jobs from starving in the disk I/O thread
|
2011-03-20 19:17:59 +00:00 |
Arvid Norberg
|
3d63cb98b7
|
log read job queue size
|
2011-03-20 09:04:03 +00:00 |
Arvid Norberg
|
54435a73b8
|
optimization for kick-starting sockets to download again after having been blocked by the disk
|
2011-03-20 07:43:57 +00:00 |
Arvid Norberg
|
e4df633157
|
added another disk cache flush algorithm to minimize readback when hashing pieces
|
2011-03-20 05:47:27 +00:00 |
Arvid Norberg
|
11e5e2539a
|
fixed crash when setting cache_buffer_chunk_size to 0
|
2011-03-20 04:56:20 +00:00 |
Arvid Norberg
|
1b6227ad31
|
report disk read-back when verifying piece hashes
|
2011-03-20 01:19:14 +00:00 |
Arvid Norberg
|
c015e28792
|
more disk thread timing
|
2011-03-19 22:23:58 +00:00 |
Arvid Norberg
|
a6745558e7
|
log max queue size and low watermark
|
2011-03-18 05:49:31 +00:00 |
Arvid Norberg
|
782bc974a1
|
log average disk job time instead of cache time
|
2011-03-18 03:07:10 +00:00 |
Arvid Norberg
|
0b25b87593
|
add a bunch more stats logged to session stats
|
2011-03-17 05:31:06 +00:00 |
Arvid Norberg
|
6db11079c8
|
add performance warning when disk write queue exceeds half of the write cache size
|
2011-03-16 07:45:51 +00:00 |
Arvid Norberg
|
d6fbff13df
|
measure disk sort time (phys_offset)
|
2011-03-15 02:21:28 +00:00 |
Arvid Norberg
|
7dde47b98a
|
measure disk cache flush times
|
2011-03-15 01:44:32 +00:00 |
Arvid Norberg
|
9812626cf0
|
make DHT rate limit configurable
|
2011-03-14 07:47:24 +00:00 |
Arvid Norberg
|
bf842f8120
|
fixed typo
|
2011-03-14 05:46:20 +00:00 |
Arvid Norberg
|
a08bcf7459
|
change semantics of disk read time and add disk hash time
|
2011-03-14 05:21:46 +00:00 |
Arvid Norberg
|
ff7bbc6cd0
|
log disk cache in session stats
|
2011-03-14 03:35:18 +00:00 |
Arvid Norberg
|
27c1bc632d
|
introduced pop_alerts() which pops the entire alert queue in a single call
|
2011-03-14 02:59:46 +00:00 |
Arvid Norberg
|
7eeafd2bac
|
log number of torrents with errors in stats logger
|
2011-03-13 19:06:19 +00:00 |
Arvid Norberg
|
c21100a9a5
|
log failed and redundant bytes
|
2011-03-13 04:34:57 +00:00 |
Arvid Norberg
|
ca4a053d1a
|
add written disk blocks to session stats
|
2011-03-12 21:41:05 +00:00 |
Arvid Norberg
|
03a7442532
|
add disk cache stats to session stats
|
2011-03-11 07:37:12 +00:00 |
Arvid Norberg
|
5431d86779
|
no need to close and re-open the listen socket when starting the DHT. Report the actual port we ended up listening on if the system chose one. don't try to listen on i2p
|
2011-03-07 07:02:30 +00:00 |
Arvid Norberg
|
5ea62910ba
|
fixed inverse logic for ip filter exemption
|
2011-03-07 01:20:23 +00:00 |
Arvid Norberg
|
f90f9f6609
|
fixed alert queue size limit bug when restoring setting from session state
|
2011-03-07 00:36:51 +00:00 |
Arvid Norberg
|
019b682cf9
|
fixed logging build
|
2011-03-04 07:00:27 +00:00 |
Arvid Norberg
|
a0b6085530
|
re-evaluate auto managed torrents soon after adding a new auto-managed torrent
|
2011-03-04 06:03:45 +00:00 |
Arvid Norberg
|
0aff6803fb
|
fix to IP filter exemptions
|
2011-03-02 17:37:10 +00:00 |
Arvid Norberg
|
08c93978a6
|
clean up some dead code and fix windows build
|
2011-02-28 00:35:58 +00:00 |
Arvid Norberg
|
ab3b82b8ee
|
replaced std::rand() with custom random generator
|
2011-02-26 07:55:51 +00:00 |
Arvid Norberg
|
56937edf56
|
cleaned up some exception handling and introduced macros like BOOST_TRY/BOOST_CATCH to make the optional exception handling nicer
|
2011-02-25 17:00:36 +00:00 |
Arvid Norberg
|
ca106ca4e0
|
some warning fixes and cleanup
|
2011-02-24 04:25:35 +00:00 |
Arvid Norberg
|
141ada013f
|
fixed a whole bunch of build warnings on gcc and msvc, along with some fixes discovered along the way
|
2011-02-21 05:24:41 +00:00 |
Arvid Norberg
|
9fe69e7596
|
fix another issue with adding magnet links with a valid torrent_info object
|
2011-02-21 03:07:37 +00:00 |
Arvid Norberg
|
3a89bcf6ff
|
don't assert on passing in a null pointer for listen interface, just listen on INADDR_ANY
|
2011-02-19 21:16:32 +00:00 |
Arvid Norberg
|
513914050c
|
fixed broadcast_lsd option. in trunk, redefined it to only broadcast every 8th packet
|
2011-02-16 10:16:52 +00:00 |
Arvid Norberg
|
cb6f38f056
|
added session::listen_no_system_port flag to prevent libtorrent from ever binding the listen socket to port 0
|
2011-02-16 06:35:53 +00:00 |
Arvid Norberg
|
9aa09d384c
|
added smooth_connect and turned it on by default
|
2011-02-16 03:11:55 +00:00 |
Arvid Norberg
|
c4c1773ceb
|
fixed some warnings
|
2011-02-15 10:05:25 +00:00 |
Arvid Norberg
|
247ad31dc0
|
more disconnect granularity in stats logging
|
2011-02-14 05:38:59 +00:00 |
Arvid Norberg
|
b471e40064
|
log more details on the cause of disconnects
|
2011-02-14 04:48:02 +00:00 |
Arvid Norberg
|
21d6030fe3
|
logging build fix
|
2011-02-12 23:25:09 +00:00 |
Arvid Norberg
|
6780114937
|
log number of upload-only torrents in session stats
|
2011-02-12 22:15:03 +00:00 |
Arvid Norberg
|
4267f0ec5a
|
rotate stats log every hour
|
2011-02-11 17:39:22 +00:00 |
Arvid Norberg
|
a42d42fd11
|
CPU optimization for end-game piece picker
|
2011-02-09 02:56:00 +00:00 |
Arvid Norberg
|
e079907252
|
more end-game piece picker optimization (early exit)
|
2011-02-08 04:08:04 +00:00 |
Arvid Norberg
|
5df4e7edd9
|
added more piece picker stats
|
2011-02-07 00:51:20 +00:00 |
Arvid Norberg
|
3d616f894e
|
end-game mode optimizations
|
2011-02-06 23:40:21 +00:00 |
Arvid Norberg
|
63c96274b9
|
more stats for redundant/failed and protocol bandwidth usage
|
2011-02-06 07:33:40 +00:00 |
Arvid Norberg
|
ea0af55a46
|
log end-game mode stats with stats logging
|
2011-02-06 03:07:00 +00:00 |
Arvid Norberg
|
ed8779a338
|
added option to not recheck on missing or incomplete resume data
|
2011-02-06 00:50:12 +00:00 |
Arvid Norberg
|
06d8142c5b
|
checking torrents don't count in auto manage logic
|
2011-02-04 06:55:05 +00:00 |
Arvid Norberg
|
051936cd29
|
fixed typo
|
2011-02-04 06:44:05 +00:00 |
Arvid Norberg
|
19d6c53ad4
|
increase low watermark for disk write queue. log payload rates in session stats
|
2011-02-04 06:33:47 +00:00 |
Arvid Norberg
|
88663bfbde
|
log more peer errors in stats log
|
2011-02-04 04:31:20 +00:00 |
Arvid Norberg
|
907588db12
|
fixed bug in peer upload stats logging and adjusted bucket sizes for histogram
|
2011-02-04 03:24:55 +00:00 |
Arvid Norberg
|
4ed6b1a067
|
introduce a low watermark for disk io blocking connections
|
2011-02-04 03:02:23 +00:00 |
Arvid Norberg
|
bf77ee4199
|
extended stats logging
|
2011-02-03 06:22:22 +00:00 |
Arvid Norberg
|
5456f2ac91
|
provide more stats with stats builds
|
2011-02-03 04:09:50 +00:00 |
Arvid Norberg
|
b842815710
|
added new session functions to more efficiently query torrent status
|
2011-02-01 09:48:28 +00:00 |
Arvid Norberg
|
6692f05655
|
added alerts for added and removed torrents
|
2011-02-01 03:25:40 +00:00 |
Arvid Norberg
|
19ae5440f2
|
make auto-manager kick in immediately when torrents are added and paused (reduces a 10 seconds delay)
|
2011-01-30 13:15:29 +00:00 |
Arvid Norberg
|
d393bb4097
|
report number of peers blocked on disk in session_status
|
2011-01-30 10:04:15 +00:00 |
Arvid Norberg
|
87dfdd4790
|
expanded plugin interface to support session state. improved re-request logic in ut_metadata extension. made max metadata size configurable
|
2011-01-29 10:37:21 +00:00 |
Arvid Norberg
|
b230c385d9
|
clean up logic around waiting for disk write queue to fall below low watermark. optimize peer disconnect. Fix integer overflow bug in uTP/TCP mixed mode algorithm. Fixed some invariant checks for closing connections issues
|
2011-01-25 08:03:35 +00:00 |
Arvid Norberg
|
9964b9cdb6
|
support a separate option to use proxies for peers or not
|
2011-01-24 03:24:28 +00:00 |
Arvid Norberg
|
4602ff4b47
|
removed logging in destructor since it caused a race condition with the creation of the logger
|
2011-01-24 03:23:34 +00:00 |
Arvid Norberg
|
2732a6bc47
|
move alert queue size limit into session_settings. make some alerts non-discardable (don't throw them out, even when the queue is full). Make session pause also pause all checking files. optimize rejecting incoming connections when the session is paused
|
2011-01-23 18:00:52 +00:00 |
Arvid Norberg
|
021a774168
|
rate limit outstanding-disk performance warnings. don't throttle reading form peers because of disk congestion if the peer isn't downloading payload. Don't time out peers that are not waiting on the network
|
2011-01-23 02:09:54 +00:00 |
Arvid Norberg
|
c223291fb4
|
added support for RSS feeds
|
2011-01-18 03:41:54 +00:00 |
Arvid Norberg
|
b49999b76e
|
made the DHT implementation slightly more robust against routing table poisoning and node ID spoofing
|
2011-01-08 08:54:51 +00:00 |
Arvid Norberg
|
a3e7095f84
|
url downloading fix
|
2010-12-30 06:46:28 +00:00 |
Arvid Norberg
|
26053e4b76
|
support adding torrents by url to a .torrent file
|
2010-12-30 01:47:30 +00:00 |
Arvid Norberg
|
ae41b2598b
|
fix non-dht build
|
2010-12-29 02:17:44 +00:00 |
Arvid Norberg
|
d1124574ef
|
fix test_transfer to set mixed mode to 'prefer_tcp' to avoid having it interfere with the send rate. optimize the test to run a lot faster. fix proxy to allow any protocol (fixes issue where test failed with http and https proxy). Bump the minimum rate limit to 20kB/s (from 5kB/s) in proportional mixed mode algorithm
|
2010-12-27 22:54:14 +00:00 |
Arvid Norberg
|
fc0bd8066b
|
use a python python dictionary for settings instead of session_settings object (in python bindings)
|
2010-12-26 08:03:02 +00:00 |
Arvid Norberg
|
8c3ad6b4f3
|
asio debugging fixes and test_transfer fixes
|
2010-12-24 18:15:01 +00:00 |
Arvid Norberg
|
451c583023
|
more robust mechanism to determine external IP
|
2010-12-24 01:31:41 +00:00 |
Arvid Norberg
|
c4422cd34e
|
optimize test_transfer. fix set_upload_mode() bug for seeds. clean up some verbose logging. fix tests to not fail by EAGAIN on stdout
|
2010-12-24 00:37:01 +00:00 |
Arvid Norberg
|
f2416af718
|
added feature to turn off making outgoing connections for seeds
|
2010-12-17 03:20:36 +00:00 |