minor fix in wording of the devlog
This commit is contained in:
@ -9,8 +9,8 @@ Done.
|
|||||||
|
|
||||||
And also revised the directory layout (swapped `fabric/` and `src/`).
|
And also revised the directory layout (swapped `fabric/` and `src/`).
|
||||||
|
|
||||||
As a bonus, I also modularized the interfaces' code, so that it looks
|
As a bonus, I also modularized the interfaces' code, making it cleaner
|
||||||
a bit cleaner than it used to.
|
and easier to maintain.
|
||||||
|
|
||||||
And as a second bonus, I completed the drop logic.
|
And as a second bonus, I completed the drop logic.
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ Packet dropping can be caused by two issues:
|
|||||||
drop the packet by immediately reclaiming the slot via the reuse
|
drop the packet by immediately reclaiming the slot via the reuse
|
||||||
logic.
|
logic.
|
||||||
|
|
||||||
There's a few scenarios for which this can play out. Notably, if both
|
There are a few scenarios for which this can play out. Notably, if both
|
||||||
the packet memory and the destination's packet queue is full, and the
|
the packet memory and the destination's packet queue is full, and the
|
||||||
destination was full before the packet memory, then the **hub** will
|
destination was full before the packet memory, then the **hub** will
|
||||||
drop the packet instead of the source interface.
|
drop the packet instead of the source interface.
|
||||||
@ -42,9 +42,9 @@ drop the packet instead of the source interface.
|
|||||||
uphold that.
|
uphold that.
|
||||||
3. Simplify the logic. Much of today's code was linking different
|
3. Simplify the logic. Much of today's code was linking different
|
||||||
modules together and having internal states within the modules to
|
modules together and having internal states within the modules to
|
||||||
manage the operations. A lot of times, the data is already there,
|
manage the operations. Most of the time, the data is already
|
||||||
and there's no reason to stall it for an additional cycle to buffer
|
available, and there's no reason to stall it for an additional
|
||||||
it.
|
cycle to buffer it.
|
||||||
4. HDL is better for design meant for hardware. This isn't
|
4. HDL is better for design meant for hardware. This isn't
|
||||||
ROSE-specific, but rather a thought that I came across while
|
ROSE-specific, but rather a thought that I came across while
|
||||||
implementing the new ARCANE load balancing algorithm for an `ns-3`
|
implementing the new ARCANE load balancing algorithm for an `ns-3`
|
||||||
@ -58,7 +58,7 @@ drop the packet instead of the source interface.
|
|||||||
|
|
||||||
## Final thoughts
|
## Final thoughts
|
||||||
Finally! After more than a month of intermittent coding, I'm close to
|
Finally! After more than a month of intermittent coding, I'm close to
|
||||||
completing a viable solution for the fabric. Just some sim tests and
|
completing an implementation for the fabric. Just some sim tests and
|
||||||
I can begin working on the Linux code for the hosts.
|
I can begin working on the Linux code for the hosts.
|
||||||
|
|
||||||
I love coding, I love writing my thoughts down, in code or in plain
|
I love coding, I love writing my thoughts down, in code or in plain
|
||||||
@ -72,9 +72,9 @@ those who'd like to see how I do it.
|
|||||||
It's that the love is for a bigger picture. We'd always hope for
|
It's that the love is for a bigger picture. We'd always hope for
|
||||||
something in return, whether that's tangible or intangible, whether
|
something in return, whether that's tangible or intangible, whether
|
||||||
that's spontaneous or given to by someone else. But the scale of the
|
that's spontaneous or given to by someone else. But the scale of the
|
||||||
hope is different when we have love. With it, we see a bigger
|
hope changes when we have love. With it, we see a bigger picture -
|
||||||
picture, we see how that love is impulsive, how that love drives us
|
how that love is impulsive, how that love drives us forward, and how
|
||||||
forward, and we see how in the broader view, it makes us better.
|
in the broader view, it makes us better.
|
||||||
|
|
||||||
## Next steps
|
## Next steps
|
||||||
Testing. I'm sure when I throw real traffic at my code, it will go
|
Testing. I'm sure when I throw real traffic at my code, it will go
|
||||||
|
Reference in New Issue
Block a user