- Community Home
- >
- HPE Community, Taiwan
- >
- Tru64 Unix & OpenVMS
- >
- Tru64 Unix
- >
- 關於psr的切換
類別
Company
Local Language
論壇
討論平台
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
論壇
部落格
- 訂閱此主題的RSS 提要
- 將此主題標記為未讀
- 將主題標記為已讀
- 將主題在本帳號置頂
- 標示為書籤
- 訂閱此主題
- 列印此頁
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 11-24-2004 01:58 PM
在 11-24-2004 01:58 PM
關於psr的切換
為什麼還是會一直切換呢?
ps -eo "pid,user,psr,pset,state,args"
PID USER PSR PSET S COMMAND
2612 root 1 0 S + top
2612 root 1 0 S + top
2612 root 1 0 S + top
2612 root 1 0 S + top
2612 root 1 0 S + top
2612 root 1 0 S + top
2612 root 1 0 S + top
2612 root 1 0 S + top
2612 root 1 0 S + top
2612 root 0 0 S + top
2612 root 0 0 S + top
2612 root 0 0 S + top
2612 root 0 0 S + top
2612 root 1 0 S + top
2612 root 1 0 S + top
2612 root 1 0 S + top
2612 root 0 0 S + top
2612 root 0 0 S + top
2612 root 0 0 S + top
2612 root 0 0 S + top
2612 root 1 0 S + top
2612 root 1 0 S + top
2612 root 1 0 S + top
2612 root 1 0 S + top
2612 root 1 0 S + top
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 11-25-2004 09:37 AM
在 11-25-2004 09:37 AM
關於psr的切換
Because there is one public domain named as top, so is your top is your specific daemon or just the top command used to monitor system running status?
Best Regards
Danny Lin
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 11-25-2004 09:41 AM
在 11-25-2004 09:41 AM
關於psr的切換
Under normal condition, if you run a process and DIDN'T use "runon" command to bind it to specific CPU or a processor set or RAD, the running CPUs switched in useful CPU processors is normal. You can use
"man runon" to check and try to bind "top" to specific CPU then use "ps" command to check again.
Best Regards
Danny Lin
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 11-25-2004 01:44 PM
在 11-25-2004 01:44 PM
關於psr的切換
您說在正常的情況下process will switch in useful CPU
所以是程式自行判斷囉,即使我的兩顆CPU loading都很低
程式還是會在兩這之間切換來切換去的
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 11-25-2004 01:53 PM
在 11-25-2004 01:53 PM
關於psr的切換
Process will be run on available CPUs that is controlled by kernel job scheduling, if you use "runon", then kernel will know it will be run on the dedicated CPU, otherwise, it's decided by kernel by putting the process in run queue and scheduling it to be run by any available CPUs.
Best Regards
Danny
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 11-25-2004 01:57 PM
在 11-25-2004 01:57 PM
關於psr的切換
I forgot to mention that UNIX is a time-sharing system, so if there are so many processes running, then each process will be run for a time slice then other processes will get CPU resources, so you processes will not be always run on the same CPU.
Best Regards
Danny Lin