This website requires JavaScript.
db73c90e34
small optimizations and os backend refactor
master
Green Sky
2025-01-18 01:44:46 +01:00
a9ebaa2c2f
improve perf (was ~.7% with asan enabled)
Green Sky
2025-01-09 01:53:17 +01:00
0064dde1ce
limit provided history by first seen
Green Sky
2025-01-07 22:29:39 +01:00
b3b8b79a65
time moved to util
Green Sky
2025-01-07 16:10:28 +01:00
7cd68845ca
forgot to reset timer on recv data
Green Sky
2024-12-19 17:17:10 +01:00
f40907d42a
use actual activity for receiving transfers for iterate interval
Green Sky
2024-12-19 13:33:30 +01:00
6d7d643207
adjust flow to iterate speed higher ft1sha1 iterate interval (not fixing it yet)
Green Sky
2024-12-16 12:52:33 +01:00
b35babe3f8
switch to os provided remote have set and other fixes
Green Sky
2024-12-15 01:23:08 +01:00
78390dd342
update object, object update lock and rare crash
Green Sky
2024-12-13 01:30:03 +01:00
eb169b2779
add participation and log spam fix
Green Sky
2024-12-11 23:23:05 +01:00
100279a483
fixes
Green Sky
2024-12-10 17:57:53 +01:00
60b3d5d941
big ft fixes, mostly for info, but also other stuff
Green Sky
2024-12-10 17:18:28 +01:00
6ad2905e07
hs2: change msgpack format and fixes
Green Sky
2024-12-09 23:38:07 +01:00
930c829031
rizzler working, more fixes everywhere there still are some crashes that needs workarounds
Green Sky
2024-12-09 22:58:36 +01:00
a139f412b1
various fixes resulting in the first time running the code
Green Sky
2024-12-08 16:08:30 +01:00
abdf6672bf
hs2 plug, rizzler still non functional
Green Sky
2024-12-08 14:48:24 +01:00
7bbaa9b929
move in plugin
Green Sky
2024-12-08 13:17:22 +01:00
70620a901b
starting the work on hs2 rizzler
Green Sky
2024-12-07 23:34:19 +01:00
231928339e
sigma
Green Sky
2024-12-07 11:38:31 +01:00
294c5346ca
hs2 send done, but untested
Green Sky
2024-12-06 22:41:05 +01:00
adeaca4efe
early out have when we have all
Green Sky
2024-12-06 16:36:02 +01:00
ba809eda43
refactor and test ts start search
Green Sky
2024-12-06 14:11:06 +01:00
b9a7c75d20
hs: progess on the log file generator, fully written but untested ft: timeout changes and wording fixes
Green Sky
2024-12-05 23:06:44 +01:00
04b6f7925a
use cache for group peer to contact lookup (~5% cpu)
Green Sky
2024-12-02 14:27:39 +01:00
5601ad91f5
a bunch of allocation optimizations
Green Sky
2024-12-02 13:08:47 +01:00
741f1428d3
updated spec to 2.1, changed almost everything other small fixes
Green Sky
2024-11-28 12:39:57 +01:00
34dc01d4dc
fix chunk picker round robin actually working (worked kinda bc of bug before) make priority dynamic and fix skipping to make it work too
Green Sky
2024-11-22 13:51:48 +01:00
1bf1fbce75
small hs progress
Green Sky
2024-11-22 13:51:25 +01:00
37b92f67c8
respect voice state for receiving file messages we should also check on send in the future
Green Sky
2024-11-06 10:50:42 +01:00
01c892df8c
tweak finishing timer
Green Sky
2024-11-06 10:49:24 +01:00
6eb5826616
split recv and send, they dont share any code (probably)
Green Sky
2024-11-03 18:21:02 +01:00
2e6b15e4ad
more hs drafting
Green Sky
2024-11-01 11:31:05 +01:00
63de78aaeb
add spec draft to repo
Green Sky
2024-10-31 15:46:48 +01:00
d88c73c761
accounted
ignore_timed_out_for_in_flight
Green Sky
2024-10-31 12:35:32 +01:00
2a0350a564
minor tweaks and fixes especially preventing a stall on some packetloss scenarios
Green Sky
2024-10-31 11:39:16 +01:00
ee593536a2
boilerplate for hs2
Green Sky
2024-10-30 17:12:05 +01:00
6f2fa60394
handle init2 in ft1 (hacky)
Green Sky
2024-10-30 11:25:33 +01:00
96041fbcec
add ft1_init2 and ft1_init_ack v3
Green Sky
2024-10-30 11:08:46 +01:00
b4eaf86ed1
dynamically choose chunk size
Green Sky
2024-10-28 23:23:05 +01:00
c7485c4577
use sr
Green Sky
2024-10-24 14:00:16 +02:00
51396314d1
big fix for not using the found free slot index!! minor logging and tweaking changes
Green Sky
2024-10-24 11:50:03 +02:00
4aab6e489d
fix uint64 cast to size_t
Green Sky
2024-10-23 14:11:26 +02:00
5e884fd3ee
dont delay recv_done and check on init info
Green Sky
2024-10-23 13:46:00 +02:00
9a4be575ba
minor stuff and logging
Green Sky
2024-10-23 12:51:22 +02:00
fd094b157f
more 32bit stuff
Green Sky
2024-10-20 18:37:01 +02:00
c3c2d0f133
fixes for 32bit
Green Sky
2024-10-20 16:35:55 +02:00
4360b65309
update to rmmi
Green Sky
2024-10-06 11:37:07 +02:00
1d7416efed
fix rare assert
Green Sky
2024-08-08 23:52:36 +02:00
a761378dd9
add p2prng packet to ext
Green Sky
2024-08-07 11:07:18 +02:00
60d6f27a12
disable sending timeout assert, we believe the underlying ngcft1
Green Sky
2024-08-04 10:15:26 +02:00
07099e4832
tag chunkpicker for update more often
Green Sky
2024-08-04 10:14:59 +02:00
9e2911b36c
spread chosen chunks more thinly if small files should help (a little) if many small files with distribution
Green Sky
2024-08-02 13:06:55 +02:00
6da1f9afca
info fixes, should investigate more
Green Sky
2024-07-31 18:34:14 +02:00
8bd2c925a6
fix missized local have bitset
Green Sky
2024-07-25 14:57:27 +02:00
da406714ff
adopt to new os and message file refactor
Green Sky
2024-07-24 17:55:31 +02:00
16cb755191
fix dangerous unchecked file stream read
Green Sky
2024-07-22 19:49:02 +02:00
54ace9d0b2
and use new backend code (partially transitioned to os backend)
Green Sky
2024-07-17 17:17:07 +02:00
e50e74e12f
add os backend and add threaded hashing still meh but nicer
Green Sky
2024-07-17 17:13:32 +02:00
f730844771
abstract aways file2rwmapped construction to lower visibility
Green Sky
2024-07-15 17:44:30 +02:00
3fcfbc11a4
reduce includes and some scope hopefully fixes the windows obj being too large
Green Sky
2024-07-15 16:38:33 +02:00
1efae931d1
better receiving transfer cleanup (reduces log spam)
Green Sky
2024-07-15 14:56:52 +02:00
0b2fa40cb9
lower rat on join TODO: its indescriminate, only announce to fresh peers
Green Sky
2024-07-15 14:38:53 +02:00
489556e322
fix front access to empty array and increase send timeout assert
Green Sky
2024-07-15 11:48:16 +02:00
10756e13ce
small fixes
Green Sky
2024-07-14 19:47:22 +02:00
74414d0999
re annouce with exponential back-off
Green Sky
2024-07-14 12:38:00 +02:00
bc5599a230
refactor sending transfers the same way as receiving
Green Sky
2024-07-13 13:52:43 +02:00
ca89e43a40
refactor extract chunk picker systems
Green Sky
2024-07-13 12:36:49 +02:00
dd04e6131a
transfer stats
Green Sky
2024-07-13 11:46:33 +02:00
31253f5708
tweak ft max numbers and add stats comp
Green Sky
2024-07-12 15:04:49 +02:00
eff25cb10b
meh
Green Sky
2024-07-12 14:42:13 +02:00
6e681aa3fd
light cca refator and expose some cca values to the outside
Green Sky
2024-07-12 13:14:24 +02:00
1d97dbe73d
rework bitset queue (worse) and send have_all instead (but better)
Green Sky
2024-07-10 15:47:33 +02:00
0e9b1b8877
add ext have all packet
Green Sky
2024-07-10 15:04:53 +02:00
f449cf623d
fix bitset sizecheck and send out bitsets the first time someone announces participation
Green Sky
2024-07-10 12:27:19 +02:00
bee7de3fb7
sequential strat now respects ReadHeadHint
Green Sky
2024-07-10 11:26:47 +02:00
822b979286
object download prio, not set anywhere yet, but the code is there now
Green Sky
2024-07-10 11:13:57 +02:00
ef91ec14fc
explicit and better rng, remove junk and old code
Green Sky
2024-07-10 10:41:25 +02:00
699957f79a
more consistenly tag cp update and lower cooldown just in case
Green Sky
2024-07-09 14:45:00 +02:00
02d58928f4
small refactors
Green Sky
2024-07-09 11:40:01 +02:00
60e6f91541
cleanup old workaround code
Green Sky
2024-07-09 11:04:19 +02:00
92373d34f7
work around missing contact events (better now) fix missing ft event on reset (oops) hard assert sending transfers can not time out higher level
Green Sky
2024-07-09 11:00:59 +02:00
e0b278b168
hot fix
Green Sky
2024-07-08 18:46:26 +02:00
e5681b4ad5
rework chunk picker update logic and participation logic disable most spammy log
Green Sky
2024-07-08 18:12:47 +02:00
79e3070422
better random init
Green Sky
2024-07-07 17:13:30 +02:00
bf1fa64973
chunk picker strategies
Green Sky
2024-07-07 16:49:31 +02:00
11dee5870c
fix round robin and reduce num empty spins to improve perf
Green Sky
2024-07-07 15:37:49 +02:00
fab3d42ee9
transfer time temporality buffer
Green Sky
2024-07-07 15:27:30 +02:00
269daaa764
work around missing contact events and properly clear on exit
Green Sky
2024-07-07 14:15:26 +02:00
ea945e6360
increase out number for 4 peers until proper sending per peer is implemented
Green Sky
2024-07-07 13:56:52 +02:00
b068819069
higher tickrate if open requests (we expect an init soon and dont want to bounce around)
Green Sky
2024-07-07 13:21:59 +02:00
b64a4ae31c
better bitset print
Green Sky
2024-07-07 13:07:57 +02:00
266cddf816
properly account for open requests when determining how much to request
Green Sky
2024-07-07 12:44:17 +02:00
eaaf798661
clear receiving transfers TODO: actually keep around for 2*delay, so missing packets can still be retransmitted but this fixes perf issues
Green Sky
2024-07-07 11:03:36 +02:00
d19fc6ba30
new chunk picker, basically working still needs work on the sending side and more bug fixes
Green Sky
2024-07-03 12:11:20 +02:00
613b183592
fix have bit packing
Green Sky
2024-07-03 11:03:26 +02:00
3fd6183c21
combined id refactor
Green Sky
2024-07-02 16:09:59 +02:00
92b3d1a5fb
more chunk picker prep
Green Sky
2024-07-02 15:52:25 +02:00
edf58b70f5
receiving count for peer
Green Sky
2024-07-02 14:54:08 +02:00
33560f8f8a
receiving transfers refactor
Green Sky
2024-06-30 14:03:06 +02:00
3286a7228c
more minor refactoring
Green Sky
2024-06-28 21:10:01 +02:00