Commit Graph
527 Commits
Author SHA1 Message Date
mpc a857c6a88f *** empty log message *** 2004-07-23 00:10:59 +00:00
mpc e8d19439f8 *** empty log message *** 2004-07-22 08:54:01 +00:00
connelly 56216250a7 Added doc sources (public domain) 2004-07-21 12:02:56 +00:00
connelly bea331db26 Fixed typo (public domain) 2004-07-21 11:56:36 +00:00
connelly bc4e833a47 Fix install path 2004-07-21 11:36:23 +00:00
mpc 83f399fffc hopefully i'll have time to work on this socket stuff tomorrow 2004-07-21 10:24:22 +00:00
jrandom 5214436d18 initial import of Connelly's public domain I2P python lib 2004-07-21 07:42:29 +00:00
jrandom 8603250d73 updated the readme to reference the current specs and implementations
removed the old out of date jython and python code
2004-07-21 06:25:44 +00:00
jrandom 9a8a099701 javadoc fix 2004-07-20 21:43:42 +00:00
jrandom a5a0c8c837 moved minimal I2CP info to the I2PSession docs (since it is the one that implements it) 2004-07-20 21:31:57 +00:00
jrandom 604bcd5874 initial impl 2004-07-20 21:28:28 +00:00
jrandom d29f9409bf include some basic I2CP info 2004-07-20 21:16:30 +00:00
jrandom b5a0f5910d first pass 2004-07-20 21:08:04 +00:00
jrandom ccb2600e67 when measuring capacity, consider data updated within the last hour as good, not just the last 5 minutes 2004-07-20 04:11:33 +00:00
jrandom f06e21ff5a null check (oops) 2004-07-20 04:10:33 +00:00
jrandom bb0817a2ec erg, expose the capacity calculator
(the last Router commit is a mod that ugha requested, but i think its ugly so its disabled atm)
2004-07-20 03:35:36 +00:00
jrandom 6911f865ca expose the capacity calculator 2004-07-20 03:34:52 +00:00
jrandom fe28b2732c simple error condition check 2004-07-20 03:28:43 +00:00
jrandom e8e8c37496 * implement new 'capacity' concept, which replaces the old 'reliability'
one for peer selection and organization.  reliability is kept around
  for the moment and shown on the router console, but only to provide a
  comparison (it is not used in any way)
* new stat in the TunnelHistory: failRate
* coallesce TunnelHistory stats (duh!)
* new ProfileOrganizer CLI ("ProfileOrganizer[ filename]*"
* implement reasonable 'failure' logic - if they are actively rejecting
  tunnels or tunnels they've agreed to are failing, mark them as failing
* when choosing peers to test, exclude all fast ones
2004-07-20 03:27:34 +00:00
jrandom ef0f1ca1e7 include a lil more eye candy on the console (how active each tunnel is and last test time) 2004-07-20 02:57:55 +00:00
jrandom 31ca34b954 rate.getAverageValue returns the average of the last fully completed period, but we want to include the current partial period as well 2004-07-20 02:53:41 +00:00
jrandom c4e6a2f0a8 if the log pattern/path referenced doesn't exist, create all necessary parent directories (killing the JVM if it fails, rather than silently gobble the log messages to /dev/null) 2004-07-19 17:18:49 +00:00
jrandom b56845e200 added quadn.i2p 2004-07-18 21:35:13 +00:00
jrandom d7a1fee781 closing a stream multiple times shouldn't kill the SAM session (thanks for the bug report Connelly) 2004-07-18 15:02:54 +00:00
mpc b1f802c42d Add id tag to strl 2004-07-17 08:18:16 +00:00
mpc 5f022e6e1f minor code cleanup 2004-07-17 04:54:45 +00:00
mpc 392cbb817e cleaned up time class 2004-07-17 03:11:20 +00:00
jrandom 130399a1e7 0.3.2.3 (coming soon to a hard drive near you) i2p_0_3_2_3 2004-07-16 21:12:27 +00:00
jrandom 37d5531737 logging, including replacing the scary monster with its true self (we had data queued up, but were unable to get an ACK on our last write) 2004-07-16 20:48:40 +00:00
jrandom f0b6cbaf89 logging 2004-07-16 19:14:39 +00:00
jrandom 707b173e77 differentiate between an explicit tunnel rejection (due to overload, etc) and an implicit one (the request timed out, the tunnels delivering the request failed, etc)
also, within the implementation of the profile, only mark the explicit rejections as a rejection
2004-07-16 00:17:28 +00:00
jrandom 4381bb5026 don't rip the peer's head off after multiple tunnel rejections - penalize them *once* for the instance (not once *per* instance) 2004-07-16 00:15:34 +00:00
duck 5850ad1217 typo fix, thanks Connelly
(duck)
2004-07-15 16:02:53 +00:00
jrandom 806d598a04 _context/getContext()
(missed one)
i2p_0_3_2_2
2004-07-15 05:23:18 +00:00
jrandom e737e5c950 * work around the disagreement between different versions of sun's compiler and JVM:
Some of them think that its ok for an inner class of a subclass to access protected data of the
outer class's parent when the parent is in another package.
Others do not.
Kaffe doesn't care (but thats because Kaffe doesn't do much for verification ;)
The JLS is aparently confusing, but it doesnt matter whether its a code or javac bug, we've got to change the code.
The simplest change would be to just make the JobImpl._context public, but I loath public data, so we make it private and add an accessor
(and change dozens of files)
whee
2004-07-15 05:12:37 +00:00
jrandom bbcde2f52b 0.3.2.2 (a lil installation testing and then i'll push) 2004-07-15 01:08:54 +00:00
jrandom f6ef77429c some boundary cases for the queue pumper's wait time 2004-07-15 01:04:13 +00:00
jrandom 44491c1514 added nickster2.i2p and irc.nickster.i2p (pointing at iip) 2004-07-14 22:12:43 +00:00
jrandom 71a6cf4ee6 * adjust the algorithm to deal with IO bound requests:
if more tokens become available while the first pending request is still blocked on
  read/write (aka after allocation and before next .waitForAllocation()), give the tokens
  to the next request
* refactor the satisfy{In,Out}boundRequests methods into smaller logical units
2004-07-14 21:07:57 +00:00
jrandom 744ce6966f add a new throttle (and stats) based on send processing time
high send processing time and low job lag means the latency is coming from outside the jobQueue - aka bandwidth throttling
2004-07-14 20:01:40 +00:00
jrandom d25cec02c2 clean up sorting for peer reliability
increase penalties for tunnel rejection, and keep track of the 10 minute rate as well as 1 and 60
2004-07-14 19:56:38 +00:00
jrandom f02bf37fd3 stats and stats and stats
track the total allocated bytes correctly (even if we're throttled)
2004-07-14 19:54:04 +00:00
jrandom 304b9d41d7 on kaffe i've periodically seen some hangs in the jobqueue, so lets try being a bit more conservative with the synchroniation, and include some debugging output in the router console to help track it down (if this doesnt fix it) 2004-07-13 20:19:28 +00:00
jrandom 2d6af89f60 safer operation (for use in the sim where some things aren't always availble) 2004-07-13 20:17:15 +00:00
jrandom d6425973e2 include an objectId flag for use in the logging 2004-07-13 20:16:05 +00:00
jrandom d5ad56c4de use smaller writes to make it look more normal 2004-07-13 20:14:18 +00:00
jrandom 4f1f2cc99e since people are using small buckets, the 10s replenish frequency is a really really bad idea (so default to 1s) 2004-07-13 05:49:16 +00:00
jrandom da439dd127 sanity checking for a kooky race condition 2004-07-12 21:33:32 +00:00
jrandom 1375d01bdf new bandwidth allocation policy and usage to include support for partial allocations (and in turn, partial write(...)) while still keeping the FIFO ordering
this will give a much smoother traffic pattern, as instead of waiting 6 seconds to write a 32KB message under a 6KB rate, it'll write 6KB for each of the first 5 seconds, and 2KB the next
this also allows people to have small buckets (but again, bucket sizes smaller than the rate just don't make sense)
2004-07-12 21:09:05 +00:00
jrandom 7b9db07f13 target=1.3 and source=1.3, not target=1.1 and source=1.3
(this is what caused the runtime errors on sun jvms but not on kaffe)
((aka i slacked and didn't test sufficiently.  off with my head))
this now builds and runs fine in sun 1.3-1.5 jvms, as well as kaffe
2004-07-12 16:39:22 +00:00