吃什么生精养精最快| 一直不来月经是什么原因| 大血小板比率偏高是什么原因| 折服是什么意思| 窦房结是什么意思| 月经不来是什么原因导致的| 巧克力不能和什么一起吃| 分解酒精的是什么酶| 为什么感冒吃冰棒反而好了| 吃什么减肥效果最好最快| 什么叫慢阻肺| 尖嘴是什么生肖| 为什么会面瘫| 为什么拉屎会拉出血| 白细胞低是什么原因引起的| 日本打工需要什么条件| ck属于什么档次| 胎盘是什么| 为什么会遗精| 手掌心发红是什么原因| 芝麻分是什么意思| 万圣节是什么时候| dpm值是什么意思| 胰腺钙化灶是什么意思| 风油精有什么功效| 景泰蓝是什么地方的特种工艺| 血管紧张素是什么意思| 尿葡萄糖是什么意思| 超前点映什么意思| 糙米是什么米| 农村适合养殖什么| 左手大拇指抖动是什么原因| 手口足吃什么药| hpv是什么疫苗| 阁字五行属什么| 植物神经紊乱的症状吃什么药| 肺栓塞是什么意思| bpm是什么| 男人都是大猪蹄子是什么意思| 慢心律又叫什么药| 太原有什么特产| 梦到蛇预示着什么| 无名指和小指发麻是什么原因| 喝杨梅酒对身体有什么好处| 眼尖什么意思| 天地不仁以万物为刍狗是什么意思| 男人吃什么补肾壮阳效果最好| 黑代表什么生肖| 什么的瞬间作文| 纷至沓来什么意思| 睡觉容易醒是什么原因| 2月出生的是什么星座| 站桩有什么好处| 白内障的主要症状是什么| 为什么老是放屁| 为什么会得结石| 内膜增生是什么意思| 吃什么油最健康| 胎盘植入是什么意思| 人生最重要的是什么| 喝啤酒吃什么菜最好| 然五行属性是什么| 肝火旺盛失眠吃什么药| 正确的三观是什么| 兔配什么生肖最好| 林冲属于什么生肖| 开诚布公是什么意思| 百合不能和什么一起吃| 双子男喜欢什么样的女生| 客之痣是什么意思| 脂膜炎是什么病| 王昆念什么| 酚氨咖敏片的别名叫什么| 为什么叫智齿| alpha是什么意思| 银屑病为什么会自愈| 绊倒是什么意思| 雍正为什么不杀十阿哥| 黄金有什么用| 炫的意思是什么| 中筛是检查什么项目| 推拿是什么意思| 去医院看膝盖挂什么科| 尿隐血阳性什么意思| 霄字五行属什么| 国印是什么意思| 宫外孕做什么手术| 办护照需要什么| 梁字五行属什么| 6月25日是什么日子| 值神天德是什么意思| 宝宝吐奶是什么原因引起的| 无奇不有是什么意思| ti是什么意思| 什么叫骨折| 史密斯夫妇什么意思| 1977年出生是什么命| paris是什么品牌| 孕妇奶粉什么时候开始喝最好| 400能上什么大学| 雍正叫什么名字| bape是什么品牌| 8月10日什么星座| 神经内科主要看什么| 叶酸在什么食物里最多| 生物制剂对人体有什么副作用| 熬夜 吃什么| 御字五行属什么| 发蒙是什么意思| 脂肪肝吃什么好| 腾字五行属什么| 来月经喝啤酒有什么影响| 四月十七号是什么星座| 青的五行属性是什么| 胃不舒服吃什么药| 轻度抑郁症吃什么药| 结婚下大雨是什么兆头| 11月16是什么星座| 排卵期是在什么时候| 脑供血不足吃什么食物好| 什么叫传统文化| 减胎对另一个胎儿有什么影响| 委屈什么意思| 痛风挂什么科就医| 支气管扩张是什么意思| 有鸟飞进屋是什么预兆| dha什么牌子最好最安全| 尿频尿急吃什么药最好| 元帅相当于现在什么官| 傻狍子什么意思| 泰坦尼克号什么时候上映的| 腰肌劳损是什么原因造成的| 玛瑙是什么材质| 吃什么可以降血压| 宝宝胀气是什么原因引起的| 徒孙是什么意思| 瘦马是什么意思| 果糖胺是什么意思| 药流前需要做什么检查| 说风就是雨什么意思| 晚上总是睡不着觉是什么原因| 血沉是什么意思| 扇子骨是什么肉| 化妆品属于什么行业| 数字7代表什么意思| 眼屎多是什么原因| 去化是什么意思| 乙状结肠是什么意思| 腌牛肉放什么调料| 迪丽热巴的全名叫什么| 落子无悔是什么意思| 一直呕吐是什么原因| 10月18日什么星座| 阿卡波糖什么时候吃| 什么榴莲好吃| 脚底长痣代表什么| 为什么射精是流出来的| 研讨会是什么意思| 查电话号码打什么电话| 军校毕业是什么军衔| 金银花和什么搭配喝好| 黛力新是什么药| 眼视光医学是干什么的| 11.11什么星座| 什么不生四字成语| 颜值担当是什么意思| 四月十六是什么星座| 黄瓜和什么不能一起吃| 胡萝卜与什么食物相克| 耳石症挂什么科| 吃李子有什么好处和坏处| 妇科活检是什么意思| 葡萄糖偏高有什么问题| 全友床垫属于什么档次| 尿白细胞高是什么原因| 器质性心脏病是什么意思| 什么可以美白| gif什么意思| 一什么门牙| 乡和镇的区别是什么| 情债是什么意思| 为什么每次同房后都会尿路感染| 整形什么医院好| 来月经可以吃什么| 阴虚吃什么食物补得快| 检查脖子挂什么科| 尿潜血挂什么科| 荷兰豆炒什么好吃| 一是什么动物| msm是什么意思| 怎么知道自己是什么血型| 膺是什么意思| 端午是什么时候| 烧烤用什么油| 基酒是什么意思| 加持什么意思| 生吃大蒜有什么好处和坏处| 为什么腿会酸痛| 三岁宝宝喝什么奶粉比较好| 考编制需要什么条件| 水镜先生和司马懿是什么关系| 食伤泄秀是什么意思| 吃什么补叶酸| 牛黄解毒片不能和什么药一起吃| 副县级是什么级别| 什么家常菜好吃| 维生素检查项目叫什么| 来月经前有褐色分泌物是什么原因| 浅是什么意思| 解脲支原体阳性是什么病| 十月十七是什么星座| 猪生肠是什么部位| 宝宝病毒感染吃什么药效果好| 腹部ct挂什么科| 娃娃亲是什么| 吃苋菜有什么好处| 祛湿吃什么药| 黄瓜和什么不能一起吃| 玻璃什么时候传入中国| 揩油什么意思| 男士阴囊痒用什么药膏| 相见不如怀念是什么意思| 祭是什么意思| 柏拉图式是什么意思| 尿频尿急吃什么药效果最好| 偏袒是什么意思| 孕妇血糖高有什么症状| 血脂稠吃什么食物好| 花椒什么时候采摘| 微针是什么| 械字号产品是什么意思| 宁五行属什么| 橙子什么季节成熟| 什么叫主动脉硬化| 腺瘤型息肉是什么意思| 球蛋白偏低是什么意思| 口水臭是什么原因引起的| 随礼钱有什么讲究| rm什么意思| 口红用什么能洗掉| pink是什么颜色| 娇气是什么意思| 儿童细菌感染吃什么药| 盐酸舍曲林片治疗什么程度的抑郁| 丧是什么意思| 女朋友的妹妹叫什么| 痤疮是什么引起的| 陪产假什么时候开始休| 湿热体质吃什么食物好| 什么人招蚊子| 邹字五行属什么| ad滴剂什么时候吃最好| 汉尼拔什么意思| 来源是什么意思| 手抖是什么情况| joyroom是什么牌子| 孕早期生气对胎儿有什么影响| 斗牛为什么用红色的布| 日干是什么| 什么季节最短| 倒挂对身体有什么好处| 月经下不来吃什么药| 三专是什么| 若叶青汁有什么功效| 百度Jump to content

电子竞技纳入亚奥会正式比赛项目 受益股一览

From Wikipedia, the free encyclopedia
(Redirected from Zstandard)
百度 2、报考人员在阅读报考须知和报考人员承诺书并确认后,进入报考信息录入界面,依次选择考试所在地(市)、审核点、报考级别和报考专业后,系统自动显示所报级别和专业对应的科目名称,前面带“√”标识的(成绩有效期为一年的无需手工选择),代表已选择的报考科目。

Zstandard
Original author(s)Yann Collet
Developer(s)Yann Collet, Nick Terrell, Przemys?aw Skibiński[1]
Initial release23 January 2015 (2025-08-14)
Stable release
1.5.7[2] Edit this on Wikidata / 20 February 2025; 5 months ago (20 February 2025)
Repository
Written inC
Operating systemCross-platform
PlatformPortable
TypeData compression
LicenseBSD-3-Clause or GPL-2.0-or-later (dual-licensed)
Websitefacebook.github.io/zstd/ Edit this on Wikidata

Zstandard is a lossless data compression algorithm developed by Yann Collet at Facebook. Zstd is the corresponding reference implementation in C, released as open-source software on 31 August 2016.[3][4]

The algorithm was published in 2018 as RFC 8478, which also defines an associated media type "application/zstd", filename extension "zst", and HTTP content encoding "zstd".[5]

Features

[edit]

Zstandard was designed to give a compression ratio comparable to that of the DEFLATE algorithm (developed in 1991 and used in the original ZIP and gzip programs), but faster, especially for decompression. It is tunable with compression levels ranging from negative 7 (fastest)[6] to 22 (slowest in compression speed, but best compression ratio).

Starting from version 1.3.2 (October 2017), zstd optionally implements very-long-range search and deduplication (--long, 128 MiB window) similar to rzip or lrzip.[7]

Compression speed can vary by a factor of 20 or more between the fastest and slowest levels, while decompression is uniformly fast, varying by less than 20% between the fastest and slowest levels.[8] The Zstandard command-line has an "adaptive" (--adapt) mode that varies compression level depending on I/O conditions, mainly how fast it can write the output.

Zstd at its maximum compression level gives a compression ratio close to lzma, lzham, and ppmx, and performs better[vague] than lza or bzip2.[improper synthesis?][9][10] Zstandard reaches the current Pareto frontier, as it decompresses faster than any other currently available algorithm with similar or better compression ratio.[as of?][11][12]

Dictionaries can have a large impact on the compression ratio of small files, so Zstandard can use a user-provided compression dictionary. It also offers a training mode, able to generate a dictionary from a set of samples.[13][14] In particular, one dictionary can be loaded to process large sets of files with redundancy between files, but not necessarily within each file, such as for log files.

Design

[edit]

Zstandard combines a dictionary-matching stage (LZ77) with a large search window and a fast entropy-coding stage. It uses both Huffman coding (used for entries in the Literals section)[15] and finite-state entropy (FSE) –a fast tabled version of ANS, tANS, used for entries in the Sequences section. Because of the manner in which FSE carries over state between symbols, decompression involves processing symbols within the Sequences section of each block in reverse order (from last to first).

Usage

[edit]
Zstandard
Filename extension
.zst[16]
Internet media type
application/zstd[16]
Magic number28 b5 2f fd[16]
Type of formatData compression
StandardRFC 8878
Websitegithub.com/facebook/zstd/blob/dev/doc/zstd_compression_format.md
Zstandard Dictionary
Internet media typeapplication/zstd
Magic number37 a4 30 ec[16]
StandardRFC 8878
Websitegithub.com/facebook/zstd/blob/dev/doc/zstd_compression_format.md#dictionary-format

The Linux kernel has included Zstandard since November 2017 (version 4.14) as a compression method for the btrfs and squashfs filesystems.[17][18][19]

In 2017, Allan Jude integrated Zstandard into the FreeBSD kernel,[20] and it was subsequently integrated as a compressor option for core dumps (both user programs and kernel panics). It was also used to create a proof-of-concept OpenZFS compression method[8] which was integrated in 2020.[21]

The AWS Redshift and RocksDB databases include support for field compression using Zstandard.[22]

In March 2018, Canonical tested[23] the use of zstd as a deb package compression method by default for the Ubuntu Linux distribution. Compared with xz compression of deb packages, zstd at level 19 decompresses significantly faster, but at the cost of 6% larger package files. Support was added to Debian (and subsequently, Ubuntu) in April 2018 (in version 1.6~rc1).[24][23][25]

Fedora added ZStandard support to RPM in May 2018 (Fedora release 28) and used it for packaging the release in October 2019 (Fedora 31).[26] In Fedora 33, the filesystem is compressed by default with zstd.[27][28]

Arch Linux added support for zstd as a package compression method in October 2019 with the release of the pacman 5.2 package manager[29] and in January 2020 switched from xz to zstd for the packages in the official repository. Arch uses zstd -c -T0 --ultra -20 -; the size of all compressed packages combined increased by 0.8% (compared to xz), the decompression speed is 14 times faster, decompression memory increased by 50 MiB when using multiple threads, and compression memory increased but scales with the number of threads used.[30][31][32] Arch Linux later also switched to zstd as the default compression algorithm for mkinitcpio initial ramdisk generator.[33]

A full implementation of the algorithm with an option to choose the compression level is used in the .NSZ/.XCZ[34] file formats developed by the homebrew community for the Nintendo Switch hybrid game console.[35] It is also one of many supported compression algorithms in the .RVZ Wii and GameCube disc image file format.

On 15 June 2020, Zstandard was implemented in version 6.3.8 of the zip file format with codec number 93, deprecating the previous codec number of 20 as it was implemented in version 6.3.7, released on 1 June.[36][37]

In March 2024, Google Chrome version 123 (and Chromium-based browsers such as Brave or Microsoft Edge) added zstd support in the HTTP header Content-Encoding.[38] In May 2024, Firefox release 126.0 added zstd support in the HTTP header Content-Encoding.[39]

License

[edit]

The reference implementation is licensed under the BSD license, published at GitHub.[40] Since version 1.0, published 31 August 2016,[41] it had an additional Grant of Patent Rights.[42]

From version 1.3.1, released 20 August 2017,[43] this patent grant was dropped and the license was changed to a BSD + GPLv2 dual license.[44]

See also

[edit]
  • LZ4 (compression algorithm) – a fast member of the LZ77 family
  • LZFSE – a similar algorithm by Apple used since iOS 9 and OS X 10.11 and made open source on 1 June 2016
  • Zlib
  • Brotli – also integrated into browsers

References

[edit]
  1. ^ "Contributors to facebook/zstd". github.com. Archived from the original on 27 January 2021. Retrieved 26 January 2021.
  2. ^ "Release Zstandard v1.5.7". Retrieved 21 February 2025.
  3. ^ Sergio De Simone (2 September 2016). "Facebook Open-Sources New Compression Algorithm Outperforming Zlib". InfoQ. Archived from the original on 7 October 2021. Retrieved 20 April 2019.
  4. ^ "Life imitates satire: Facebook touts zlib killer just like Silicon Valley's Pied Piper". The Register. 31 August 2016. Archived from the original on 3 September 2016. Retrieved 6 September 2016.
  5. ^ Collet, Yann (October 2018). Kucherawy, Murray S. (ed.). Zstandard Compression and the application/zstd Media Type. Internet Engineering Task Force Request for Comments. doi:10.17487/RFC8478. RFC 8478. Retrieved 7 October 2020.
  6. ^ "Release Zstandard v1.3.4 - faster everything · facebook/zstd". GitHub. Archived from the original on 11 September 2021. Retrieved 27 March 2024.
  7. ^ "Command Line Interface for Zstandard library". GitHub. 28 October 2021.
  8. ^ a b "ZStandard in ZFS" (PDF). open-zfs.org. 2017. Archived (PDF) from the original on 18 December 2019. Retrieved 20 April 2019.
  9. ^ Matt Mahoney. "Silesia Open Source Compression Benchmark". Archived from the original on 21 January 2022. Retrieved 10 May 2019.
  10. ^ Matt Mahoney (29 August 2016). "Large Text Compression Benchmark, .2157 zstd". Archived from the original on 31 March 2022. Retrieved 1 September 2016.
  11. ^ TurboBench: Static/Dynamic web content compression benchmark, PowTurbo, archived from the original on 17 March 2022, retrieved 21 March 2018
  12. ^ Matt Mahoney, Silesia Open Source Compression Benchmark, archived from the original on 21 January 2022, retrieved 5 April 2018
  13. ^ "Facebook developers report massive speedups and compression ratio improvements when using dictionaries" (PDF). Fermilab. 11 October 2017. Archived (PDF) from the original on 25 January 2018. Retrieved 27 March 2024.
  14. ^ "Smaller and faster data compression with Zstandard". Facebook. 31 August 2016. Archived from the original on 8 November 2020. Retrieved 3 September 2016.
  15. ^ "facebook/zstd". GitHub. 28 October 2021.
  16. ^ a b c d Collet, Yann (February 2021). Kucherawy, Murray S. (ed.). Zstandard Compression and the application/zstd Media Type. Internet Engineering Task Force Request for Comments. doi:10.17487/RFC8878. RFC 8878. Retrieved 26 February 2023.
  17. ^ Corbet, Jonathan (17 September 2017). "The rest of the 4.14 merge window [LWN.net]". lwn.net. Archived from the original on 22 November 2021. Retrieved 27 March 2024.
  18. ^ "Linux_4.14 - Linux Kernel Newbies". Kernelnewbies.org. 30 December 2017. Archived from the original on 10 January 2018. Retrieved 16 August 2018.
  19. ^ Larabel, Michael (8 September 2017). "Zstd Compression For Btrfs & Squashfs Set For Linux 4.14, Already Used Within Facebook - Phoronix". www.phoronix.com. Archived from the original on 25 July 2019. Retrieved 13 November 2017.
  20. ^ "Integrate ZSTD into the kernel · freebsd/Freebsd-SRC@28ef165". GitHub.
  21. ^ "Add ZSTD support to ZFS · openzfs/ZFS@10b3c7f". GitHub. Archived from the original on 10 September 2020. Retrieved 12 October 2020.
  22. ^ "Zstandard Encoding - Amazon Redshift". 20 April 2019. Archived from the original on 14 August 2021. Retrieved 24 January 2018.
  23. ^ a b Larabel, Michael (12 March 2018). "Canonical Working On Zstd-Compressed Debian Packages For Ubuntu". phoronix.com. Phoronix Media. Archived from the original on 16 August 2021. Retrieved 29 October 2019. The developers at Canonical are considering a feature freeze exception to get this newly-developed Zstd Apt/Dpkg support in Ubuntu 18.04 LTS. In doing so, they mention they would be looking at enabling Zstd compression for packages by default in Ubuntu 18.10.
  24. ^ "New Ubuntu Installs Could Be Speed Up by 10% with the Zstd Compression Algorithm". Softpedia. 12 March 2018. Archived from the original on 6 October 2021. Retrieved 13 August 2018.
  25. ^ "Debian Changelog for apt". Debian. 19 April 2021. Retrieved 7 November 2022.
  26. ^ "Changes/Switch RPMS to ZSTD compression". Fedora Project Wiki. Archived from the original on 2 June 2019. Retrieved 8 July 2020.
  27. ^ "Fedora Workstation 34 feature focus: Btrfs transparent compression". Fedora Magazine. 14 April 2021. Retrieved 12 May 2022.
  28. ^ "Changes/BtrfsTransparentCompression". Fedora Project Wiki. Retrieved 12 May 2022.
  29. ^ Larabel, Michael (16 October 2019). "Arch Linux Nears Roll-Out of ZSTD Compressed Packages for Faster Pacman Installs". Phoronix. Archived from the original on 18 March 2022. Retrieved 21 October 2019.
  30. ^ Broda, Mara (4 January 2020). "Now using Zstandard instead of xz for package compression". Arch Linux. Archived from the original on 18 March 2022. Retrieved 5 January 2020.
  31. ^ Broda, Mara (25 March 2019). "RFC: (devtools) Changing default compression method to zstd". arch-dev-public (Mailing list). Archived from the original on 17 August 2021. Retrieved 5 January 2020.
  32. ^ Broda, Mara; Polyak, Levente (27 December 2019). "makepkg.conf: change default compression method to zstd". GitHub.
  33. ^ Razzolini, Giancarlo (19 February 2021). "News: Moving to Zstandard images by default on mkinitcpio". Arch Linux. Retrieved 28 December 2021.
  34. ^ "RELEASE - nsZip - NSP compressor/decompressor to reduce storage". GBAtemp.net - The Independent Video Game Community. 20 October 2019. Archived from the original on 15 August 2021. Retrieved 3 November 2019.
  35. ^ Bosshard, Nico (31 October 2019), nsZip is a tool to compress/decompress Nintendo Switch games using the here specified NSZ file format: nicoboss/nsZip, archived from the original on 27 March 2022, retrieved 3 November 2019
  36. ^ APPNOTE.TXT - .ZIP File Format Specification Version: 6.3.8, 15 June 2020, retrieved 7 July 2020
  37. ^ APPNOTE.TXT - .ZIP File Format Specification Version: 6.3.7, 1 June 2020, retrieved 6 June 2020
  38. ^ "New in Chrome 123 | Chrome Blog". Chrome for Developers. 19 March 2024. Retrieved 16 April 2024.
  39. ^ "Firefox 126.0, See All New Features, Updates and Fixes". Archived from the original on 13 May 2024. Retrieved 15 May 2024.
  40. ^ "Facebook open sources Zstandard data compression algorithm, aims to replace technology behind Zip". ZDnet. 31 August 2016. Retrieved 1 September 2016.
  41. ^ "Zstandard v1.0". GitHub. 31 August 2016. Archived from the original on 7 April 2023. Retrieved 23 January 2025.
  42. ^ "v1.3.0/PATENTS · facebook/zstd". GitHub. 30 August 2016. Archived from the original on 15 May 2021. Retrieved 27 March 2024.
  43. ^ "Release Zstandard v1.3.1 · facebook/zstd". GitHub. 20 August 2017. Archived from the original on 12 September 2020. Retrieved 27 March 2024.
  44. ^ "New license by Cyan4973 · Pull Request #801 · facebook/zstd". GitHub. 19 August 2017. Archived from the original on 12 September 2020. Retrieved 27 March 2024.
[edit]
丝状疣用什么药膏最好 软肋什么意思 w代表什么意思 哈尼什么意思 西安有什么好吃的特产
湿热喝什么茶可以调理 细菌性阴道炎吃什么药好 三餐两点什么意思 便秘了吃什么容易排便 两点水的字和什么有关
三伏天是什么时候开始 乳房旁边疼是什么原因 考妣是什么意思 婴儿头发竖起来是什么原因 吃什么可以补胶原蛋白
10.28什么星座 云南有什么特产 万亿后面是什么单位 pra是什么意思 hcg翻倍慢是什么原因
前列腺吃什么药见效快hcv7jop9ns8r.cn 喉咙扁桃体发炎吃什么药hcv7jop6ns4r.cn 3.9是什么星座hcv9jop0ns0r.cn 检查怀没怀孕挂什么科1949doufunao.com 狗吃什么药会立马就死helloaicloud.com
什么叫hcv8jop5ns4r.cn 胃痛按什么部位可以缓解疼痛hcv9jop0ns1r.cn 血窦是什么意思hcv9jop2ns5r.cn 考编制需要什么条件hcv8jop9ns2r.cn 右眼一直跳是什么预兆hcv8jop9ns0r.cn
名媛什么意思hcv9jop2ns4r.cn 屁股痛是什么引起的hcv7jop6ns7r.cn 肾阳虚吃什么药最好最有效dayuxmw.com 什么口什么舌hcv9jop5ns9r.cn 止血芳酸又叫什么名hcv9jop1ns7r.cn
孕检挂什么科520myf.com 社日是什么意思hcv9jop7ns2r.cn 左胸隐隐作痛是什么原因hcv8jop3ns0r.cn 朱砂是什么做的baiqunet.com 包皮红肿用什么药youbangsi.com
百度