1. 22 May, 2000 6 commits
  2. 19 May, 2000 8 commits
  3. 18 May, 2000 7 commits
  4. 11 May, 2000 2 commits
    • place's avatar
      talking to dave and i found out that · 78ec5573
      place authored
      what i thought was variance
      is actually std deviation.
      eep. so i had to run right off and change variable names.
      
      other: dave says that he shared my "poisson looks funny" intuition, but that
             (in the code that i stole) it is doing the right thing (can't make any
             promises yet about the code after i glued it in)
      
      i have to take a good careful look at the argcount manipulation code.
      78ec5573
    • place's avatar
      talking to dave and i found out that · 7de5f000
      place authored
      what i thought was variance
      is actually std deviation.
      eep. so i had to run right off and change variable names.
      
      other: small fixes and error checking, but nothing exciting.
      7de5f000
  5. 08 May, 2000 3 commits
    • place's avatar
      split dn_pipe up in the .h, so i had to change about 80 billion lines · 6029ab68
      place authored
      to handle that. code somewhat cleaner, but not as much as i had hoped for.
      kernel grew more than i expected. i think it was like 2k bigger. not that i
      obsess over this, but i was surprised.
      loss, delay, bw conf()s split from the main conf().
      doing all of this made it easier to spot bugs, so yes it was worth it.
      
      what next? oh, test test test. just my favorite thing in the world, don't
      you know...
      
      "you should be a tester, rob. you'd make a great tester."
         -- the head of the test team in my dept when i ibmed. she claimed to be
            serious, but i was never sure.
      6029ab68
    • place's avatar
      put the bandwidth,loss,delay parameters in separate structs because · 19ca9e33
      place authored
      dn_pipe had grown ridiculously.
      19ca9e33
    • place's avatar
      > not too convinced that poisson is correct (see corresponding dummynet · 206b922c
      place authored
      > commit msg)
      
      haven't touched yet
      
      > the command line reading code has ballooned and could use cleaning in some
      > way. since this is user code, i'm not _terribly_ concerned, but...
      
      i played with it and made it more deterministic and i won't have to do tons
      of "well, you specified this distribution but you didnt specify this arg"
      now. it's not really as nice as i had imagined, but it is improved.
      
      > should add more to 'ipfw pipe show'.
      
      i added some. i tend to forget about it, 'cause it's not like i use this
      much. i'm probably not going to bother with writing code to return the
      entries in tables.
      
      > more validity checking would be nice, but having the kernel catch it and
      >  give a printf() and EINVAL is not bad.
      
      added some. sometimes, i just let the kernel catch it.
      
      --
      what next? test a lot.
      206b922c
  6. 05 May, 2000 5 commits
    • Mac Newbold's avatar
    • Mac Newbold's avatar
      Added -u parameter to allow waiting for switch table to update, and · 22f0f035
      Mac Newbold authored
      confirm new setting. Useful for when you cut off your own connection...
      22f0f035
    • Mac Newbold's avatar
      (Oops... I don't remember what I changed!) · 418152bd
      Mac Newbold authored
      418152bd
    • place's avatar
      passes in parameters for the rest of loss and bw. · bae9cc6e
      place authored
      ----
      
      not too convinced that poisson is correct (see corresponding dummynet
      commit msg)
      
      the command line reading code has ballooned and could use cleaning in some
      way. since this is user code, i'm not _terribly_ concerned, but...
      
      should add more to 'ipfw pipe show'.
      
      more validity checking would be nice, but having the kernel catch it and
       give a printf() and EINVAL is not bad.
      bae9cc6e
    • place's avatar
      Loss now has poisson and random table (of rates) · 546ccb10
      place authored
      Bandwidth now has const rate, uniform, determ and random tables, poisson.
      
      so that's all of the functionality that people wanted.
      ---
      
      I don't think poisson is working right. it makes a poisson shape, it seems,
      but it is _narrow_.
      poisson for loss is particularly cheesy.
      loss is given to ipfw as a real number 0..1.  ipfw translates it to 0..7fffffff.
      i did not want to calculate P(x) for everything between 0 and 7fffffff, so i
      do poisson for 0..7fff and shift it 16 bits before sending to kernel. i don't
      think this makes a valid poisson dist. if you mess with the mean like that.
      
      what next?
       try some restructuring. some things that made sense in vanilla dummynet
      	became quite unwieldy as i kept adding things. making delay,loss,bw
      	structs in the dn_pipe might clean things up (at the expense of having
      	to say pipe->something->something).
       validity checks (eg mean 100 var 150)
       add more comments.
       test a lot. pretty much everything has had at least some pinging and
      	"hmm, it seems to be doing what i want", but...
      546ccb10
  7. 04 May, 2000 1 commit
  8. 03 May, 2000 4 commits
  9. 02 May, 2000 3 commits
  10. 01 May, 2000 1 commit
    • place's avatar
      Delay: · a39ac4e6
      place authored
              const
              uniform
      	poisson (right now, that's just random table. i plan to at least
      		differentiate it by returning the mean for IP_DUMMYNET_GET)
              random table
              deterministic table
      Loss:
              const rate
              const time between drops
              uniform rate dist.
              deterministic table for time between drops
      a39ac4e6