忘記密碼
 立即註冊
樓主: BYOB

打造終極 HiEnd HTPC - Linux 哇塞!

[複製鏈接]

14

主題

849

回帖

0

積分

新手上路

三星級會員

舊站積分
2319
舊站發表文章數
826
 樓主| 發表於 2012-12-21 00:14:14 | 顯示全部樓層
原發表者是 solo16
[B]thx guys!!! it works hehe....
btw if u guys not using 890 may consider to try noapic n nolapic kernel options. ....it sounds gd....tried on old 780g n intel itx atom board.....but just not 890 caused black screen..... [/B]

有阿 我有試過了 noapic  nolapic

結果是無法順利進入系統

因此激發我

尋找 開機自訂選單及參數的那個方法

雖然失敗  但又學到一招無影腳   []

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2012-12-21 00:14:26 | 顯示全部樓層
guys this is my system tweakings would like to share it out .....[:I]















cheers!!!

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2012-12-21 00:24:52 | 顯示全部樓層
原發表者是 solo16
[B]guys this is my system tweakings would like to share it out .....[:I]
[恕刪]
[/B]


solo16兄, 感謝分享.
小弟有一點想請問一下, setpci那行為什麼要拿掉?
小弟覺得那行挺重要的說...

還有network-security那兩行應該可以停掉. []

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2012-12-21 00:25:16 | 顯示全部樓層
guys mind me asking what is the advantages of the bfs ???

i've been studying it for a bit of time already but mostly it said it's good for desktop use ...no so much pros for cli .....

also abt the kernel freq isn't that lower better??? why we need such high frequency if say 300 is enough??

i agree alsa is sucks .... to me it violates the linux spirit why the hack we need an "api" for ....why not just direct communicate with the hardware ......

coz here in HK at least among our group they will use external clock so oss seems like not feasible to me at this moment ....will sure try on free time....

i think besides the freq the major benefits for rt kernel is to enable the ability to adjust process with rtirq.....

please kindly share your thought i'm open minded to learn.....
[] [] []

btw this time the nojitter nohz=off notsc....doesn't change much at least not like nmi watchdog....um.u...guess my system still need time to further tweak it .....

p.s. for os drive i prefer to format as ext2 ....as it is journaless fs......and it did sound better than say ext3 or 4......


thx so much!!!!

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2012-12-21 00:28:27 | 顯示全部樓層
原發表者是 bchsieh
[B]

solo16 兄, 感謝分享.
小弟有一點想請問一下, setpci 那行為什麼要拿掉?
小弟覺得那行挺重要的說...

還有 network-security 那兩行應該可以停掉. [] [/B]


hi master,

coz i don't use pci at all so i just take it off.....haha....yeah if i have pci soundcard can set FF for it my friend told me it improves quite a bit.....hhehe....

hahah....yup coz am been trying this and that so forgot to disabled them back ...haha....


cheers!!!!

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2012-12-21 00:36:48 | 顯示全部樓層
FYI guys,

GRUB_CMDLINE_LINUX_DEFAULT=」text quiet acpi=noirq pci=noacpi pnpacpi=off noapic clocksource=hpet nosmp」

this is the old settings for 780g mobo ...the main concept here is to enable the hpet without the shutdown bug / problem be triggered.....(the shutdown bug is horrible sometime it need to reset bios in order to get it back)

for 890 the above not working ....maxcpus=1 clocksource=hpet is the workaround .....(not sure 2 is work or not ....not brave enough to try but im insist to use one core anyway[] )


the only reason to force using the hpet is without it hdspe and madi will flutter....apparently it only applies to 10.04.....

11.04 onward...not able to let the alsa work with aes properly ...some claims it works but i doubt they are using gui ...with the official hdspmixer ....still trying to figure out the root of problem

the sound is just fast forwarded on 11.04 onward.....[!] [!] [!]

btw just one more thing to share ....on 10.04 in order to let the aes madi work you need to compile the alsa under generic kernel ...sometimes you need to reinstall RT kernel headers in order to work on rt.....so weird.....

i never able to make aes n madi work if compiled under rt kernel....

cheers!!!!

14

主題

849

回帖

0

積分

新手上路

三星級會員

舊站積分
2319
舊站發表文章數
826
 樓主| 發表於 2012-12-21 00:39:27 | 顯示全部樓層
bchsieh 兄

可否借參考您 /etc/default/rtirq 的內容

0

主題

165

回帖

0

積分

新手上路

二星級會員

舊站積分
171
舊站發表文章數
165
發表於 2012-12-21 00:57:19 | 顯示全部樓層
guys if you look at my rc.local you can find several sirq priority especiall the rcu one ...is very crusial .....i found out that by using top command and found out it is frequently  used ....so give it a try and set higher tier priority for it ...[:O] [:O] [:O]

i.m shocked ...but if the system is not welly tuned in both hardware and software you will find the mid (vocal and violin etc...) concave(d)........

after a bit research rcu is one of the major functions of a cpu ...or computer system.....

cheers!!!

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2012-12-21 08:39:15 | 顯示全部樓層
原發表者是 solo16
[B]guys mind me asking what is the advantages of the bfs ???

i've been studying it for a bit of time already but mostly it said it's good for desktop use ...no so much pros for cli .....

also abt the kernel freq isn't that lower better??? why we need such high frequency if say 300 is enough??

i think besides the freq the major benefits for rt kernel is to enable the ability to adjust process with rtirq.....

[恕刪]
[/B]


solo16兄,

簡單的說, BFS的最大好處, 在於它提供了最小的latency, 也就是允許kernel frequency設定到10000Hz.

Kernel frequency是設定CPU檢查是否有新程序要執行的頻率.
1000Hz就表示一秒鐘要檢查1000次.
這個值設定得越低, CPU就越少檢查是否有新程序, 相對的也就可以花更多的資源去執行舊程序.
相反地, 如果這個值設定得越高, 就越快可以發現有新程序要被執行, 所以延遲越低.

簡單的來說, 低Hz = 高延遲 + 高throughput,
高Hz = 低延遲 + 低throughput.
這就是為什麼大家說BFS/CK對桌面系統很好, 因為就算在CPU高負載的時候, 仍然對桌面操作的反應速度很快.

對CAT來說, 我們不需要high throughput, 需要的反而是low latency.
小弟記得ubuntu generic kernel是100Hz, realtime kernel是300Hz.
realtime kernel要設定成300Hz的原因就是因為要低延遲.

這個hz越高就越耗電. 為了省電, 才會有所謂的tickless (no_hz)出現.
在CPU loading不高的時候, 可以把這個Hz自動往下調低.
對CAT來說, 音樂播放本來就不怎麼耗CPU資源, 所以這個Hz就一直不斷的上上下下調整,
timer interrupts的速度也不斷的變化.
這對音樂的殺傷力是很大的, 所以才要關閉no_hz.

ps. kernel 2.6.39之後, 就算不用RT kernel也可以使用threadirqs/rtirq.
有可能因為如此, 似乎新kernel好像傾向不發RT kernel了. []

16

主題

1772

回帖

0

積分

新手上路

四星級會員

舊站積分
6295
舊站發表文章數
1683
發表於 2012-12-21 08:40:50 | 顯示全部樓層
原發表者是 solo16
[B]

hi master,

coz i don't use pci at all so i just take it off.....haha....yeah if i have pci soundcard can set FF for it my friend told me it improves quite a bit.....hhehe....

hahah....yup coz am been trying this and that so forgot to disabled them back ...haha....


cheers!!!! [/B]


對喔.. 您用的是pcie, 而不是pci.
恕小弟糊塗.. [:I]
您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|MyAV視聽商情網 test

GMT+8, 2026-11-19 20:34 , Processed in 0.184627 second(s), 41 queries .

Powered by MyAV!

快速回覆 返回頂部 返回列表