Re: svn commit: r316978 - in head: contrib/zstd etc/mtree lib lib/libzstd share/mk usr.bin usr.bin/zstd

2017-04-22 Thread Ian Lepore
On Sun, 2017-04-23 at 01:27 +0200, Baptiste Daroussin wrote: > On Sat, Apr 22, 2017 at 04:05:28PM -0600, Ian Lepore wrote: > > > > On Sun, 2017-04-16 at 09:35 +0200, Baptiste Daroussin wrote: > > > > > > On Sat, Apr 15, 2017 at 04:37:02PM -0700, Rodney W. Grimes wrote: > > > > > > > > > > > >

Re: svn commit: r316978 - in head: contrib/zstd etc/mtree lib lib/libzstd share/mk usr.bin usr.bin/zstd

2017-04-22 Thread Baptiste Daroussin
On Sat, Apr 22, 2017 at 04:05:28PM -0600, Ian Lepore wrote: > On Sun, 2017-04-16 at 09:35 +0200, Baptiste Daroussin wrote: > > On Sat, Apr 15, 2017 at 04:37:02PM -0700, Rodney W. Grimes wrote: > > > > > > And we need this in base for what great purpose??? > > > > > zstandard is the successor to

Re: svn commit: r316978 - in head: contrib/zstd etc/mtree lib lib/libzstd share/mk usr.bin usr.bin/zstd

2017-04-22 Thread Ian Lepore
On Sun, 2017-04-16 at 09:35 +0200, Baptiste Daroussin wrote: > On Sat, Apr 15, 2017 at 04:37:02PM -0700, Rodney W. Grimes wrote: > > > > And we need this in base for what great purpose??? > > > zstandard is the successor to lz4, there are attempts to integrate > zstandard in > ZFS, Allan Jude is

Re: svn commit: r316978 - in head: contrib/zstd etc/mtree lib lib/libzstd share/mk usr.bin usr.bin/zstd

2017-04-19 Thread Ed Maste
On 19 April 2017 at 11:22, Ruslan Bukin wrote: > > I committed. Please upstream that. As jhb pointed out we should probably add __bswapdi2 to compiler-rt (it's already there for ARM). I would assume that libgcc also has it, and this is a workaround for our slightly

Re: svn commit: r316978 - in head: contrib/zstd etc/mtree lib lib/libzstd share/mk usr.bin usr.bin/zstd

2017-04-19 Thread Ruslan Bukin
On Wed, Apr 19, 2017 at 04:53:25PM +0200, Baptiste Daroussin wrote: > On Wed, Apr 19, 2017 at 02:21:06PM +, Ruslan Bukin wrote: > > This break RISC-V world build: > > /home/br/obj//riscv.riscv64/usr/home/br/dev/freebsd-head/tmp/usr/lib/libprivatezstd.so: > > undefined reference to `__bswap >

Re: svn commit: r316978 - in head: contrib/zstd etc/mtree lib lib/libzstd share/mk usr.bin usr.bin/zstd

2017-04-19 Thread Baptiste Daroussin
On Wed, Apr 19, 2017 at 02:21:06PM +, Ruslan Bukin wrote: > This break RISC-V world build: > /home/br/obj//riscv.riscv64/usr/home/br/dev/freebsd-head/tmp/usr/lib/libprivatezstd.so: > undefined reference to `__bswap > si2' >

Re: svn commit: r316978 - in head: contrib/zstd etc/mtree lib lib/libzstd share/mk usr.bin usr.bin/zstd

2017-04-19 Thread Ruslan Bukin
This break RISC-V world build: /home/br/obj//riscv.riscv64/usr/home/br/dev/freebsd-head/tmp/usr/lib/libprivatezstd.so: undefined reference to `__bswap si2' /home/br/obj//riscv.riscv64/usr/home/br/dev/freebsd-head/tmp/usr/lib/libprivatezstd.so: undefined reference to `__bswap di2' Here is patch

Re: svn commit: r316978 - in head: contrib/zstd etc/mtree lib lib/libzstd share/mk usr.bin usr.bin/zstd

2017-04-16 Thread Matthew Ahrens
On Sun, Apr 16, 2017 at 12:35 AM, Baptiste Daroussin wrote: > > zstandard is the successor to lz4, That's not my understanding. zstandard is an improvement in every respect over zlib (gzip), but lz4 is faster, especially at decompression[*]. If you have data to the contrary

Re: svn commit: r316978 - in head: contrib/zstd etc/mtree lib lib/libzstd share/mk usr.bin usr.bin/zstd

2017-04-16 Thread Mark Linimon
On Sat, Apr 15, 2017 at 05:01:10PM -0700, Conrad Meyer wrote: > Can you tone down the condescension, Rod? Being rude doesn't help you > make your case. I'm going to have to +1 this. We're a huge community now. Comments that might be appropriate among a handful of people aren't as appropriate

Re: svn commit: r316978 - in head: contrib/zstd etc/mtree lib lib/libzstd share/mk usr.bin usr.bin/zstd

2017-04-16 Thread Baptiste Daroussin
On Sat, Apr 15, 2017 at 04:37:02PM -0700, Rodney W. Grimes wrote: > And we need this in base for what great purpose??? > zstandard is the successor to lz4, there are attempts to integrate zstandard in ZFS, Allan Jude is working on that, I am working on integrating in libstand to allow to boot a

Re: svn commit: r316978 - in head: contrib/zstd etc/mtree lib lib/libzstd share/mk usr.bin usr.bin/zstd

2017-04-15 Thread Allan Jude
On 2017-04-15 19:37, Rodney W. Grimes wrote: > And we need this in base for what great purpose??? > It is a new faster compression algorithm from the creator of LZ4, Yann Collet. It offers compression ratios similar or great than gzip, but 4-6x faster compression, and 2-3x faster decompression

Re: svn commit: r316978 - in head: contrib/zstd etc/mtree lib lib/libzstd share/mk usr.bin usr.bin/zstd

2017-04-15 Thread Conrad Meyer
On Sat, Apr 15, 2017 at 4:37 PM, Rodney W. Grimes wrote: > And we need this in base for what great purpose??? Can you tone down the condescension, Rod? Being rude doesn't help you make your case. We already have zlib, bzip2, and xz in base. zstd is just one

Re: svn commit: r316978 - in head: contrib/zstd etc/mtree lib lib/libzstd share/mk usr.bin usr.bin/zstd

2017-04-15 Thread Rodney W. Grimes
And we need this in base for what great purpose??? > Author: bapt > Date: Sat Apr 15 20:05:22 2017 > New Revision: 316978 > URL: https://svnweb.freebsd.org/changeset/base/316978 > > Log: > Import zstandard 1.1.4 in base > > zstandard is a new compression library/tool which is very fast

svn commit: r316978 - in head: contrib/zstd etc/mtree lib lib/libzstd share/mk usr.bin usr.bin/zstd

2017-04-15 Thread Baptiste Daroussin
Author: bapt Date: Sat Apr 15 20:05:22 2017 New Revision: 316978 URL: https://svnweb.freebsd.org/changeset/base/316978 Log: Import zstandard 1.1.4 in base zstandard is a new compression library/tool which is very fast at compression/decompression For now import as a private library