TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A second is a long time

99 点作者 ssapkota将近 14 年前

8 条评论

_delirium将近 14 年前
I agree with the general point that you might be over-smoothing if you graph data with large window sizes, but you don't have to change the units on the graph as well, and probably shouldn't, since "Mbit per half second" is a confusingly nonstandard unit--- the units of measurement and the granularity of measurement don't have to be tied. An Mbit/s is a <i>rate</i>, and you can graph the rate in that unit for data points taken over a window of 1/2-second also.<p>Same as how in physics, lots of things are expressed in rates of "per second", but this does not necessarily imply that the measurement window was one second; it might be vastly larger or smaller than that. Or, with cars, you can measure the speed in mph or km/hr much more frequently than once per hour. =]
Jabbles将近 14 年前
I think he's made some unfortunate mistakes with his language and use of units:<p>"<i>we could transfer 900 Mbit for a half of a second and another 100 Mbit for the other half of that second. How much data was transferred during that second? The answer is 1 Gbit per second.</i>"<p>"for" implies multiplication, i.e. 2Mbit/s for 3s transfers 6Mbit in total, 2Mbit/s * 3s = 6Mbit. The phrase "900Mbit for half a second" should probably read "900Mbit <i>in</i> half a second", giving 1.8Gbit/s (and thus supporting the point of the article).<p>"The answer is [<i>not</i>] 1Gbit per second", it is 1Gbit. It is a measure of data, not transfer rate.<p>He makes a good point though, averaging may mask important details.
评论 #2749508 未加载
tlrobinson将近 14 年前
The resolution of data and units the data is expressed in are orthogonal. You can still use X/second units but report 10 samples per second. Changing the units is confusing. I don't have an immediate frame of reference for how fast Mb/half-second is without doing a conversion in my head.
minimax将近 14 年前
<i>For example, we could transfer 900 Mbit for a half of a second and another 100 Mbit for the other half of that second. How much data was transferred during that second? The answer is 1 Gbit per second.</i><p>The dimensional analysis doesn't work here. He asks for a quantity of data and answers with a transfer rate. Also it shouldn't be surprising that the instantaneous transfer rate at a given time is different than the average transfer rate over a period of time.
ssapkota将近 14 年前
It's a fabulous troubleshooting effort made by the admins - "we saw we would frequently burst the 1 Mbit per millisecond rate of the so called 1 Gbit/s interfaces"
carbonica将近 14 年前
&#62; This effect is made even worse by most monitoring tools because most take samples every 5 minutes.<p>Who exactly is using monitoring tools that sample every 5 <i>minutes</i>? Goodness. Maybe I've been spoiled, but I couldn't imagine using such a blunt tool.
评论 #2748905 未加载
评论 #2749079 未加载
评论 #2748969 未加载
评论 #2748976 未加载
评论 #2748896 未加载
JoachimSchipper将近 14 年前
rrdtool[1] can be configured to "merge" measurements in various ways: by default, the pixel at (say) "4min" is an <i>average</i> of the measurements at (e.g.) 3:30, 3:40, ..., 4:20 [2], but it can also be configured to be the <i>maximum</i> (or minimum, or median) of these measurements.<p>[1] the database and graph software which underlies most (Unix?) server monitoring tools, including e.g. Munin and Cacti.<p>[2] Or the measurements at 4:00, ..., 4:50, or those at 3:10, ..., 4:00; I forgot, and it's not important.
7952将近 14 年前
What you need is standard deviation and other stats of all the samples.