由买买提看人间百态

topics

全部话题 - 话题: bzip2
1 (共1页)
m*****e
发帖数: 126
1
来自主题: Unix版 - Question about bzip2
I have some experimental data which is in binary format. The size
of the files is about 10M each. When I rewrite them into ascii,
the size is about 36M. When I compress the ascii file by bzip2,
it takes very long time to run and finally generate a file just
1.5M. Is that possible? Does bzip2 have any special algorithm
to do the compression?
d*****g
发帖数: 36
2
来自主题: Unix版 - 如何解压*.tar.bz2文件?请教!
Actually bzip2 it is very similar
with gzip. But bzip with higher
compressing ratio (30%). You can
download it from:
http://sourceware.cygnus.com/bzip2/
First I assume you have installed "bzip".
In Linux with new version of tar, you can
unpack it as:
tar Ixvf *.tar.bz2
You can also unpack it as:
bzip2 *.tar.bz2 | tar xvf -
or
bzip2 *.tar.bz2
tar xvf *.tar
c*******f
发帖数: 378
3
来自主题: SanFrancisco版 - 我能问个linux的问题吗?版上大牛多
seems to be bzip2 lib related. try install bzip2-dev rpm, or get the bzip2-
dev source rpm to compile the binary urself.
O*****n
发帖数: 125
4
我一般就是拿boost的gzip封装,倒是还不错
唯一讨厌的是,不支持随机读写。。随机读写可能会非常慢
研究了一下bzip2等格式随机读写还是会比较快的,但是找不到封装好的可以跟stream
或者
FILE*兼容的库,甚至都没有找到现成的支持随机读写bzip2的库,虽然讲起来bzip2的
block结构是可以支持随机读写的。
大家一般怎么解决这种问题的呢?。。。。万谢
a****a
发帖数: 5763
5
看俺的
凡人全集.txt 12,824,315
bzip2 默认设置之后 5,008,958
rar 最高强度 4,613,660
7zip ppmd 压缩最高强度 4,063,597
bzip2 压缩比 == 0.39058286
rar 压缩比 == 0.35975879
7zip ppmd == 0.31686659
这绝对不是下限
t*****z
发帖数: 1598
6
来自主题: Hardware版 - 7zip到底靠谱不靠谱啊?
我一般用bzip2 -9。我试验了一些大型文本文件发现,lzma(即7z)和bzip2相比压缩
率没有显著优势,时间倒很长。
c****y
发帖数: 1
7
来自主题: Unix版 - 如何解压*.tar.bz2文件?请教!

use "bzip2 -d" instead of "bzip2" when uncompress the archive
m*z
发帖数: 3102
8

还有你知道有那些software 可以用全部四核的吗?~~哈哈~大部份你不用那些的~~
http://forums.whirlpool.net.au/archive/1263103
3D Studio MAX using Mental Ray Renderer
7-Zip
Adobe Premiere Elements
Adobe: After Effects CS4
After Effects CS3
AutoDesk 3ds Max 9
AutoGK
AVG Anti Virus
Bibble 4.10 Professional
Bzip2
Cinema 4d Rendering
Convert X to DVD
Core DVD Movie Factory 7
Corel® Video Studio X2
Cyberlink Power Director 6 Plus
Cyberlink Power Producer 5
DivX Codec v6.8
DVD Flick
DVDFab Platinum
DVDShrink v3.2
Easy DVD Rip Pro
E... 阅读全帖
z********0
发帖数: 9013
y***d
发帖数: 2330
10
with blanks removed first,
cat $1 | sed 's/ //g' |sed 's/ //g'|sed 's/\s//g' | grep -v ^$ > $1.clean
cat $1.clean | bzip2 -9 > $1.bz
ls -l $1.clean
ls -l $1.bz
xdyxz.txt.clean 1832997
xdyxz.txt.bz 831906
0.454
fr.txt.clean 9999434
fr.txt.bz 4184934
0.419
3.5% of difference.
u******a
发帖数: 7843
11
来自主题: Apple版 - bzip2是个啥东西?
搞得我风扇全速了……
I*********t
发帖数: 5258
12
来自主题: Apple版 - bzip2是个啥东西?
一种压缩包格式,和zip, rar, tar, gz差不多 的
m******w
发帖数: 8
13
来自主题: CS版 - matlab一问
hi,
thanks. I have following matlab code. How to add another line of sta
tement to do the rotation for the x-axis? Just tried google and found n
othing helpful. thanks.
xlabel('Benchmarks','FontSize',18)
ylabel('Performance Increase (%)','FontSize',18)
set(gca,'XTickLabel',{'bzip2', 'crafty', 'gap', 'gcc', 'gzip', 'mcf', 'p
arser', 'perlbmk', 'twolf', 'vortex', 'vpr'})
t****b
发帖数: 16
14

DX游戏千差万别, 用3DMark衡量CPU performance准确吗?
至少我从未在真实游戏中看k8大幅度领先k10的情况.
扯远到graphics, 瞅瞅3DMark在它的本职工作上表现象样吗?
[IMG]http://media.bestofmicro.com/I/E/298742/original/3dmark_graphics.png[/IMG]
从反应真实性能的角度,我只认可(synthetics of) real program(s), real kernel(s).
SPEC CPU 2006随然偏向scientific simulation, 常见的桌面应用还是有的, 比如401.
bzip2, 464.h264ref, 483.xalancbmk.
q*p
发帖数: 963
15
来自主题: Hardware版 - 7zip到底靠谱不靠谱啊?
源于lzma,但青出于蓝而胜于蓝。
7z是LZMA,xz是LZMA2。
xz现在大行其道。
XZ Utils
XZ Utils is free general-purpose data compression software with high
compression ratio. XZ Utils were written for POSIX-like systems, but also
work on some not-so-POSIX systems. XZ Utils are the successor to LZMA Utils.
The core of the XZ Utils compression code is based on LZMA SDK, but it has
been modified quite a lot to be suitable for XZ Utils. The primary
compression algorithm is currently LZMA2, which is used inside the .xz
container fo... 阅读全帖
t*****z
发帖数: 1598
16
来自主题: Hardware版 - 7zip到底靠谱不靠谱啊?
原来是这样,学习了!在我的工作中xz压缩率并不比bzip2高,所以我没有去用。我觉
得xz有个好处是原生支持多线程。

Utils.
f*****Q
发帖数: 1912
17
I use bzip2
E*V
发帖数: 17544
18
来自主题: Linux版 - 继续批评 gentoo
不用,不过因我们要用汉字
USE要相应设一下
mine:
USE="X acl alsa amd64 avahi bzip2 cdr cjk cli consolekit cracklib crypt cups
dbus dri dvd fortran gdbm gnome gpm gtk hal iconv isdnlog java kde kpathsea
mdnsresponder-compat mmx mng mudflap multilib mysql ncurses nls nptl
nptlonly nsplugin opengl openmp pam pcre perl pppd python qt3 qt3support qt4
readline reflection session sockets socks5 spl sql sse sse2 ssl svg sysfs
tcpd unicode webkit xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="
adpcm alaw asym copy dmix
v********9
发帖数: 121
19
Loaded plugins: rhnplugin, security
Setting up Install Process
Package bzip2-1.0.3-4.el5_2.x86_64 already installed and latest version
Nothing to do
装了呀
e****r
发帖数: 581
d****d
发帖数: 2919
21
来自主题: Linux版 - Best Linux 4 Thinkpad
T410, NV的独立显卡。
装了下面这一堆东西,觉得够用了。
pacman -Q -e
acpid 2.0.10-2
acroread 9.4.2-1
alsa-oss 1.0.17-1
alsa-utils 1.0.24.2-1
archlinux-themes-slim 1.2-2
artwiz-fonts 1.3-6
aspell-en 7.1-1
attr 2.4.46-1
autoconf 2.68-1
automake 1.11.1-2
bash 4.2.010-1
binutils 2.21.1-1
bison 2.5-1
bzip2 1.0.6-1
cheese 3.0.1-2
chromium 12.0.742.112-1
coreutils 8.12-3
cryptsetup 1.3.1-2
dash 0.5.6.1-2
dcron 4.5-2
device-mapper 2.02.85-3
dhcpcd 5.2.12-1
diffutils 3.0-2
e2fsprogs 1.41.14-1
emacs 23.3-1
emesene 2.11.5-2
exo 0... 阅读全帖
l********k
发帖数: 14844
22
自己顶一个:afio
docstore.mik.ua/orelly/unix3/upt/ch38_05.htm
There are good arguments both for and against compression of tar archives
when making backups. The overall problem is that neither tar nor gzip is
particularly fault-tolerant, no matter how convenient they are. Although
compression using gzip can greatly reduce the amount of backup media
required to store an archive, compressing entire tar files as they are
written to floppy or tape makes the backup prone to complete loss if one
block of th... 阅读全帖
p*****m
发帖数: 31
23
来自主题: Unix版 - [转载] 如何解开.tar.bz2文件?
bz2 file can be extracted by bzip2
d******e
发帖数: 2265
24
来自主题: Unix版 - [转载] 如何解开.tar.bz2文件?
for sun, you dl the bzip2 from sunsite.uic.edu
s***t
发帖数: 58
25
tar -Icvf to use bzip2 to compress
or tar -zcvf to use gzip.
(check your version tar first :-)
r**a
发帖数: 630
26
bzip2, bunzip2
1 (共1页)