1GENERAL INFORMATION ON PERFORMANCE TESTS
2----------------------------------------
3
4The following performance tests were based on two file sets: the
5liveCD filesystem from the Ubuntu liveCD (Warty release), and the
6liveCD filesystem from the Damn Small Linux liveCD (release 0.8.4).
7The Ubuntu liveCD filesystem was used to test filesystem performance
8from CDROM and hard disk for Zisofs, Cloop, Squashfs 2.0 and Squashfs2.1.
9CRAMFS filesystem performance could not be tested for this filesystem
10bacause it exceeds the maximum supported size of CRAMFS.  To test
11CRAMFS performance against Squashfs, the liveCD filesystem from
12Damn Small Linux was used.
13
14NOTE: the usual warnings apply to these results, they are provided for
15illustrative purposes only, and due to different hardware and/or file data, you
16may obtain different results.  As such the results are provided "as is" without
17any warranty (either express or implied) and you assume all risks as to their
18quality and accuracy.
19
201. Ubuntu liveCD performance tests
21
22   ext3 uncompressed size      1.4 GB
23   Zisofs compressed size      589.81 MB
24   Cloop compressed size       471.89 MB
25   Squashfs2.0 compressed size 448.58 MB
26   Squashfs2.1 compressed size 448.58 MB
27
281.1 Performance tests from CDROM
29
301.1.1 Directory Lookup performance
31
32  Time taken to perform "ls -lR --color=alawys | cat > /dev/null" on filesystem
33  mounted from CDROM
34
35  Zisofs       49.88 seconds (User 2.60 secs, Sys 11.19 secs)
36  Cloop        20.80 seconds (User 2.71 secs, Sys 13.50 secs)
37  Squashfs2.0  16.56 seconds (User 2.42 secs, Sys 10.37 secs)
38  Squashfs2.1  10.14 seconds (User 2.48 secs, Sys 4.44 secs)
39
401.1.2 Sequential I/O performance
41
42  Time taken to perform "tar cf - | cat > /dev/null" on filesystem mounted
43  from CDROM
44
45  Zisofs       27 minutes 28.54 seconds (User 3.00 secs, Sys 1 min 4.80 secs)
46  Cloop        5 minutes 55.72 seconds (User 2.90 secs, Sys 3 min 37.90 secs)
47  Squashfs2.0  5 minutes 20.87 seconds (User 2.33 secs, Sys 56.98 secs)
48  Squashfs2.1  5 minutes 15.46 seconds (user 2.28 secs, Sys 51.12 secs)
49
501.1.3 Random I/O performance
51
52  Random access pattern generated by "find /mnt -type f -printf "%s %p\n" | sort
53  -g | awk '{ printf $2 }' > /tmp/sort
54
55  Time taken to perform "cpio -o --quiet -H newc < /tmp/sort > /dev/null"
56  on filesystem mounted from CDROM
57
58  Zisofs       101 minutes 29.65 seconds (User 5.33 secs, Sys  1 min 17.20 secs)
59  Cloop        35 minutes 27.51 seconds (user 5.93 secs, Sys 4 mins 30.23 secs)
60  Squashfs2.0  21 minutes 53.05 seconds (user 5.71 secs, Sys 2 mins 36.59 secs)
61  Squashfs2.1  21 minutes 46.99 seconds (User 5.80 secs, Sys 2 mins 31.88 secs)
62
63
641.2 Performance tests from Hard disk
65
661.2.1 Directory Lookup performance
67
68  Time taken to perform "ls -lR --color=alawys | cat > /dev/null" on filesystem
69  mounted from Hard disk
70
71  Zisofs       17.29 seconds (User 2.62 secs, Sys 11.08 secs)
72  Cloop        16.46 seconds (User 2.63 secs, Sys 13.41 secs)
73  Squashfs2.0  13.75 seconds (User 2.44 secs, Sys 11.00 secs)
74  Squashfs2.1  6.94 seconds (User 2.44 secs, Sys 4.48 secs)
75
761.2.2 Sequential I/O performance
77
78  Time taken to perform "tar cf - | cat > /dev/null" on filesystem mounted
79  from Hard disk
80
81  Zisofs       1 minute 21.47 seconds (User 2.73 secs, Sys 54.44 secs)
82  Cloop        1 minute 34.06 seconds (user 2.85 secs, Sys 1 min 12.13 secs)
83  Squashfs2.0  1 minute 21.22 seconds (User 2.42 secs, Sys 56.21 secs)
84  Squashfs2.1  1 minute 15.46 seconds (User 2.36 secs, Sys 49.78 secs)
85
861.2.3 Random I/O performance
87
88  Random access pattern generated by "find /mnt -type f -printf "%s %p\n" | sort
89  -g | awk '{ printf $2 }' > /tmp/sort
90
91  Time taken to perform "cpio -o --quiet -H newc < /tmp/sort > /dev/null"
92  on filesystem mounted from Hard disk
93
94  Zisofs       11 minutes 13.64 seconds (User 5.08 secs, Sys 52.62 secs)
95  Cloop        5 minutes 37.93 seconds (user 6 secs, Sys 2 mins 22.38 secs)
96  Squashfs2.0  5 minutes 7.11 seconds (user 5.63 secs, Sys 2 mins 35.23 secs)
97  Squashfs2.1  5 minutes 1.87 seconds (User 5.71 secs, Sys 2 mins 29.98 secs)
98
99
1002. Damn Small Linux liveCD performance tests
101
102   ext3 uncompressed size      126 MB
103   CRAMFS compressed size      52.19 MB
104   Squashfs2.0 compressed size 46.52 MB
105   Squashfs2.1 compressed size 46.52 MB
106
1072.1 Performance tests from CDROM
108
1092.1.1 Directory Lookup performance
110
111  Time taken to perform "ls -lR --color=alawys | cat > /dev/null" on filesystem
112  mounted from CDROM
113
114  CRAMFS       10.85 seconds (User 0.39 secs, Sys 0.98 secs)
115  Squashfs2.0  2.97 seconds (User 0.36 secs, Sys 2.15 secs)
116  Squashfs2.1  2.43 seconds (User 0.40 secs, Sys 1.42 secs)
117
1182.1.2 Sequential I/O performance
119
120  Time taken to perform "tar cf - | cat > /dev/null" on filesystem mounted
121  from CDROM
122
123  CRAMFS       55.38 seconds (User 0.34 secs, Sys 6.98 secs)
124  Squashfs2.0  35.99 seconds (User 0.30 secs, Sys 6.35 secs)
125  Squashfs2.1  33.83 seconds (User 0.26 secs, Sys 5.56 secs)
126
1272.1.3 Random I/O performance
128
129  Random access pattern generated by "find /mnt -type f -printf "%s %p\n" | sort
130  -g | awk '{ printf $2 }' > /tmp/sort
131
132  Time taken to perform "cpio -o --quiet -H newc < /tmp/sort > /dev/null"
133  on filesystem mounted from CDROM
134
135
136  CRAMFS        3 minutes 1.68 seconds (User 0.54 secs, Sys 9.51 secs)
137  Squashfs2.0   1 minute 39.45 seconds (User 0.57 secs, Sys 13.14 secs)
138  Squashfs2.1   1 minute 38.41 seconds (User 0.58 secs, Sys 13.08 secs)
139
1402.2 Performance tests from Hard disk
141
1422.2.1 Directory Lookup performance
143
144  Time taken to perform "ls -lR --color=alawys | cat > /dev/null" on filesystem
145  mounted from Hard disk
146
147  CRAMFS       1.77 seconds (User 0.53 secs, Sys 1.21 secs)
148  Squashfs2.0  2.67 seconds (User 0.41 secs, Sys 2.25 secs)
149  Squashfs2.1  1.87 seconds (User 0.41 secs, Sys 1.46 secs)
150
1512.2.2 Sequential I/O performance
152
153  Time taken to perform "tar cf - | cat > /dev/null" on filesystem mounted
154  from Hard disk
155
156  CRAMFS       6.80 seconds (User 0.36 secs, Sys 6.02 secs)
157  Squashfs2.0  7.23 seconds (User 0.29 secs, Sys 6.62 secs)
158  Squashfs2.1  6.53 seconds (User 0.31 secs, Sys 5.82 secs)
159
1602.2.3 Random I/O performance
161
162  Random access pattern generated by "find /mnt -type f -printf "%s %p\n" | sort
163  -g | awk '{ printf $2 }' > /tmp/sort
164
165  Time taken to perform "cpio -o --quiet -H newc < /tmp/sort > /dev/null"
166  on filesystem mounted from Hard disk
167
168
169  CRAMFS       28.55 seconds (User 0.49 secs, Sys 6.49 secs)
170  Squashfs2.0  25.44 seconds (User 0.58 secs, Sys 13.17 secs)
171  Squashfs2.1  24.72 seconds (User 0.56 secs, Sys 13.15 secs)
172