메인 콘텐츠로 건너뛰기
블로그 Linode (주) 호스트 요약 및 평균 CPU 통계

호스트 요약 및 평균 CPU 통계

나는 회원의 개요 페이지에 새로운 [b]"호스트 요약"[/b] 위젯을 추가했습니다. 해당 호스트의 평균 CPU 사용량과 함께 현재 호스트를 편리하게 표시합니다.

이는 Linode 스레드가 소비하는 "CPU 초" 수를 기록하고 월 초부터 오늘의 끝까지의 총 초 수와 비교하여 계산됩니다. 하루가 끝날 무렵에 가장 정확합니다.

또한 대부분의 서버는 듀얼 프로세서 시스템이므로 실제로 할 작업(월초 수)의 두 배가 되므로 100% 이상의 값을 볼 수 있습니다. 하지만, 만약 당신이 이상 75% 실행-어웨이 프로세스를 찾고 있을 수 있습니다 그리고 따라서 나를 사냥 하지 않도록 🙂

-크리스


댓글 (5)

  1. Author Photo

    [quote:9ace29757b=”caker”]I added a new [b]”Host Summary”[/b] widget to the Member’s Overview page. It conveniently displays which host you’re on, along with your average CPU usage on that host.

    This is calculated by recording the number of “CPU seconds” your Linode thread(s) consume, and comparing that against the total number of seconds from the beginning of the month to the end of the current day. It’s most accurate close to the end of each day.

    Also, since most of our servers are dual processor systems there’s really twice the (number of seconds in the month) work to be done, so there is a slight chance you might see values over 100%. But, if you’re anywhere over 75% you might want to look for run-away processes and thereby avoid having me hunt you down 🙂

    -Chris[/quote]

    OK, well, for what it’s worth, my Linode has used 3% of host5’s CPU resources this month.

    Does this mean that I’ve used 3% of the CPU cycles available on one of the two processors on this Linode host system?

    If so, then if all 32 Linodes on host5 used the same amount of CPU, then the host would in generally only be able half utilized (32 x 3% = 96% of one processor). If the percentage represents the CPU cycles available on both processors, then in fact the host would be pretty close to maximum capacity hosting 32 Linodes with a similar resource usage as mine.

    I think it must be the former, as host5 has seemed pretty reasonably loaded this month …

  2. Author Photo

    It is the percentage based on one processor, only.

    Even though each Linode has a “kernel” process, and a “user-space” process on the host, only one process out of the two runs at once (they switch back and forth), so it’s psuedo single threaded.

    It is a fact that on our dual processor hosts your actual minimum Mhz is going to be [i]at least twice what’s advertised[/i]. On all our machines (including the two single processor systems), the number of Linodes we can place on one machine is limited by RAM before CPU.

    -Chris

  3. Author Photo

    I updated the widget’s text to make it more clear.

  4. Author Photo

    [quote:a1824e70bf=”caker”]I added a new [b]”Host Summary”[/b] widget to the Member’s Overview page. It conveniently displays which host you’re on, along with your average CPU usage on that host.[/quote]

    Next we could make it show the usage of the other linodes, then every month we could vote a linode off of the server.. it’ll be like survivor.

    Seriously though, I like this a lot. It lets me know that I’m not causing problems for the other linodes. Much better then getting a nasty-o-gram from Chris.

    Kenny

  5. Author Photo

    Next we could make it show the usage of the other linodes, then every month we could vote a linode off of the server.. it’ll be like survivor.

    🙂 That is funny — my first laugh of the morning. Actually I think it it will be a good feature.

댓글 남기기

이메일 주소는 게시되지 않습니다. 필수 필드가 표시됩니다 *