blob: e1b26fb36236bcd7c08aff80c5c337ce8e93244f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
9p virtual file system on qemu slow
Hi,
The 9p virtual file system is slow. Several examples below:
---------------------------------------------------------
Host for the first time:
$ time ls bam.unsorted/
...........................
real 0m0.084s
user 0m0.000s
sys 0m0.028s
--------------------------------------------------
Host second and following:
real 0m0.009s
user 0m0.000s
sys 0m0.008s
------------------------------------------------------
VM for the first time:
$ time ls bam.unsorted/
................................
real 0m23.141s
user 0m0.064s
sys 0m2.156s
------------------------------------------------------
VM for the second time
real 0m3.643s
user 0m0.024s
sys 0m0.424s
----------------------------------------------------
Copy on host:
$ time cp 5173T.root.bak test.tmp
real 0m30.346s
user 0m0.004s
sys 0m5.324s
$ ls -lahs test.tmp
2.7G -rw------- 1 oneadmin cloud 2.7G Mar 26 21:47 test.tmp
---------------------------------------------------
$ copy on VM for the same file
time cp 5173T.root.bak test.tmp
real 5m46.978s
user 0m0.352s
sys 1m38.962s
|