HackerTrans
トップ新着トレンドコメント過去質問紹介求人

xtacy

no profile record

投稿

[untitled]

1 ポイント·投稿者 xtacy·3 か月前·0 コメント

Performance Speed Limits (2019)

travisdowns.github.io
18 ポイント·投稿者 xtacy·11 か月前·1 コメント

A whirlwind tutorial on creating teensy ELF executables for Linux (1999)

muppetlabs.com
59 ポイント·投稿者 xtacy·昨年·17 コメント

Burst Damage

wheresyoured.at
2 ポイント·投稿者 xtacy·2 年前·0 コメント

ShortCat: Manipulate macOS masterfully, minus the mouse

shortcat.app
2 ポイント·投稿者 xtacy·2 年前·0 コメント

コメント

xtacy
·3 か月前·議論
Curious - what’s this court filing?
xtacy
·6 か月前·議論
> QUIC is not bad, but there are places where it either does not work at all or works too slow.

Curious: in your experience where does QUIC work bad/slow?
xtacy
·11 か月前·議論
Are there good public examples of well designed APIs that have stood the test of time?
xtacy
·11 か月前·議論
Is it GBps (gigabytes per second) or Gbps (giga bits per second)? I see mixed usage in this comment thread so I’m left wondering what it actually is.

The article is consistent and uses Gigabytes.
xtacy
·昨年·議論
We do have a model. That’s statistical physics.

Any standard course goes over various derivations of classical physics laws (Newtonian dynamics) from quantum mechanics.
xtacy
·2 年前·議論
Yep, such ideas have been around. But congestion is a fundamental problem. Admission control is the only way to ensure there is no congestion collapse.

The technical issue is that you would need global arbitration to ensure that the _goodput_ (useful bytes delivered) is optimal. With training across 32k GPUs and more these days, global arbitration to ensure the correct packets are prioritised is going to be very difficult. If you are sending more traffic than the receiver's link capacity, packets _will_ get dropped, and it's suboptimal to transmit those dropped packets into the network as they waste link capacity elsewhere (upstream) within the network.
xtacy
·2 年前·議論
In principle, with perfect knowledge of flows at any given instant, you can assign credits/rate-of-transmission for each flow to prevent congestion. But, in practice this is somewhat nuanced to build, and there are various tradeoffs to consider: what happens if the flows are so short that coordinating with a centralised scheduler incurs a latency overhead that is comparable to the flow duration? There's been research to demonstrate that one can strike a sweet spot, but I don't think it's practical nor has it been really deployed in the wild. And of course, this scheduler has to be made reliable as it's a single point of failure.

Such ideas are, however, worth revisiting when the workload is unique enough (in this case, it is), and the performance gains are so big enough...
xtacy
·2 年前·議論
OP is referring to "Credit based flow control", which is a way to ensure a sender does not overwhelm a receiver with more data than it can handle.

Usually, this is line-rate, but if the other side is slow for whatever reason (say the consumer is not draining data), you wouldn't want the sender to continue sending data.

If you also have N hosts sending data to 1 host, you would need some way of distributing the bandwidth among the N hosts. That's another scenario where the credit system comes. Think of it as an admission control for packets so as to guarantee that no packets are lost. Congestion control is a looser form of admission control that tolerates lossy networks, by retransmitting packets should they be lost.
xtacy
·2 年前·議論
It's also a bit odd that they do not implement congestion control. Congestion control is fundamental unless you only have point-to-point data transfers, which is rarely the case. All-reduce operation during training requires N to 1 data transfer. In these scenarios the sender needs to control its data transfer rates so as to not overwhelm not just the receiver, but also the network... if this is not done, it will cause congestion collapse (https://en.wikipedia.org/wiki/Network_congestion#:~:text=ser...).
xtacy
·2 年前·議論
You can check the example described here: https://stats.stackexchange.com/questions/644280/stable-viol...

Judea Pearl’s book also goes into the above in some detail, as to why faithfulness might be a reasonable assumption.
xtacy
·2 年前·議論
Honest question: Are there successful cases where a PE takeover has transformed the company that has helped the company's mission?
xtacy
·2 年前·議論
You are not alone, me too, and several others have noted it and discussed it before. For e.g., Gmail made this change that I absolutely hated and instantly disabled when it was released: https://ux.stackexchange.com/questions/15291/are-grayscale-b... and https://news.ycombinator.com/item?id=17038130

The grumpy.website linked above is gold!
xtacy
·2 年前·議論
> to have a tool that is external to the VM (runs on the hypervisor host) that essentially has "read only" access to the kernel running on the VM to provide visibility into what's running on the machine without an agent running within the VM itself

Not quite what you are after, but comes close ... you could run gdb on the kernel in this fashion and inspect, pause, step through kernel code: https://stackoverflow.com/questions/11408041/how-to-debug-th....
xtacy
·5 年前·議論
I suspect that the web server's CPU usage will be pretty high (almost 100%), so C-state tuning may not matter as much?

EDIT: also, RSS happens on the NIC. RFS happens in the kernel, so it might not be as effective. For a uniform request workload like the one in the article, statically binding flows to a NIC queue should be sufficient. :)
xtacy
·7 年前·議論
I think you meant to say -- Type 1 is a false positive, and type 2 is a false negative.