Virtualbox guest處理file io很慢 - Linux

By Yuri
at 2015-10-22T22:56
at 2015-10-22T22:56
Table of Contents
大家好,
環境 host: windows7 RAM 4G 64bit 硬碟1T
guest: ubuntu 12.04 RAM 2G 32bit 硬碟480G
我有一個問題就是同一個程式,關於stream .ts file read/write的執行
在單純linux下,執行時間大約3秒左右, ts file是放在實體硬碟
在virtualbox的guest環境下,執行時間就快10s左右了... @@ ts file是放在guest環境下,
請問這是正常的嗎? 還是可以如何改進?
我在想是不是virtualbox的檔案系統要改之類的...
執行的程式source code如下(opencaster):
https://github.com/nexgenta/opencaster/blob/master/tools/tsfilter/tsfilter.c
這支程式純linux架構執行不到1秒, virtualbox ubuntu gest須花3秒左右
https://github.com/nexgenta/opencaster/blob/master/tools/tscbrmuxer/tscbrmuxer.c
這支程式純linux架構執行大約3秒, virtualbox ubuntu gest須花10秒左右 @@
請大家給我意見, thanks
--
Tags:
Linux
All Comments

By Callum
at 2015-10-26T04:45
at 2015-10-26T04:45

By Madame
at 2015-10-29T15:58
at 2015-10-29T15:58

By Oscar
at 2015-10-30T22:18
at 2015-10-30T22:18

By Charlie
at 2015-11-02T06:36
at 2015-11-02T06:36

By Una
at 2015-11-06T05:36
at 2015-11-06T05:36

By Christine
at 2015-11-07T14:18
at 2015-11-07T14:18

By Carolina Franco
at 2015-11-08T07:08
at 2015-11-08T07:08

By Cara
at 2015-11-11T02:21
at 2015-11-11T02:21

By Emma
at 2015-11-11T10:15
at 2015-11-11T10:15

By Charlie
at 2015-11-13T22:12
at 2015-11-13T22:12

By Leila
at 2015-11-15T06:49
at 2015-11-15T06:49

By Edwina
at 2015-11-17T18:28
at 2015-11-17T18:28

By Leila
at 2015-11-19T18:14
at 2015-11-19T18:14

By Charlie
at 2015-11-22T09:55
at 2015-11-22T09:55

By Charlie
at 2015-11-24T03:51
at 2015-11-24T03:51

By Tristan Cohan
at 2015-11-27T00:21
at 2015-11-27T00:21

By Eartha
at 2015-11-29T03:40
at 2015-11-29T03:40

By Edwina
at 2015-12-01T11:38
at 2015-12-01T11:38

By Quintina
at 2015-12-06T10:37
at 2015-12-06T10:37

By Frederica
at 2015-12-08T01:57
at 2015-12-08T01:57

By Quintina
at 2015-12-12T20:35
at 2015-12-12T20:35
Related Posts
AWStats 中文的問題

By John
at 2015-10-21T22:54
at 2015-10-21T22:54
module used -1時該怎麼辦?

By Leila
at 2015-10-21T22:06
at 2015-10-21T22:06
系統換至SSD

By Emily
at 2015-10-21T16:19
at 2015-10-21T16:19
httpd 掛點

By Eartha
at 2015-10-21T14:11
at 2015-10-21T14:11
請問頻寬監控問題

By Linda
at 2015-10-21T09:55
at 2015-10-21T09:55