Re: Default stream priority

On Wed, Dec 04, 2013 at 09:23:37AM -0800, Martin Thomson wrote:
> Looks like my math was off again...
> 
> I got an email this morning pointing out that with the high bit
> reserved, a default priority of 2^30 is actually the lowest priority.
> 
> Is there any reason that this can't be changed to 2^29?  i.e.,
> 0x20000000 rather than the current 0x40000000.

Eeh...

- According to every place I could find in -09, priority is
  31-bit field.
- Bigger numbers are lower priority, so lowest priority is the
  maximum number.
- One can stick 2^31-1 (which is bit above 2,000,000,000) into
  31-bit field. Section 5.3 even says this is the lowest priority.
- 2^30 is bit above 1,000,000,000 (and most definitely under
  2,000,000,000).


-Ilari 

Received on Thursday, 5 December 2013 07:56:21 UTC