On Sat, Feb 24, 2024 at 02:56:15PM -0800, Hao Xiang wrote:
> > > > I don't think it's super clean to have three arrays offset, zero and
> > > > normal, all sized for the full packet size. It might be possible to just
> > > > carry a bitmap of non-zero pages along with pages->offset and operate on
On Thu, Feb 22, 2024 at 9:15 PM Hao Xiang wrote:
>
> On Thu, Feb 22, 2024 at 6:21 PM Peter Xu wrote:
> >
> > On Wed, Feb 21, 2024 at 06:04:10PM -0300, Fabiano Rosas wrote:
> > > Hao Xiang writes:
> > >
> > > > 1. Implements the zero page detection and handling on the multifd
> > > > threads for
On Thu, Feb 22, 2024 at 8:38 PM Hao Xiang wrote:
>
> On Fri, Feb 16, 2024 at 9:08 PM Richard Henderson
> wrote:
> >
> > On 2/16/24 12:39, Hao Xiang wrote:
> > > +void multifd_zero_page_check_recv(MultiFDRecvParams *p)
> > > +{
> > > +for (int i = 0; i < p->zero_num; i++) {
> > > +
Hao Xiang writes:
> On Wed, Feb 21, 2024 at 1:04 PM Fabiano Rosas wrote:
>>
>> Hao Xiang writes:
>>
>> > 1. Implements the zero page detection and handling on the multifd
>> > threads for non-compression, zlib and zstd compression backends.
>> > 2. Added a new value 'multifd' in
On Wed, Feb 21, 2024 at 1:04 PM Fabiano Rosas wrote:
>
> Hao Xiang writes:
>
> > 1. Implements the zero page detection and handling on the multifd
> > threads for non-compression, zlib and zstd compression backends.
> > 2. Added a new value 'multifd' in ZeroPageDetection enumeration.
> > 3. Add
On Thu, Feb 22, 2024 at 6:21 PM Peter Xu wrote:
>
> On Wed, Feb 21, 2024 at 06:04:10PM -0300, Fabiano Rosas wrote:
> > Hao Xiang writes:
> >
> > > 1. Implements the zero page detection and handling on the multifd
> > > threads for non-compression, zlib and zstd compression backends.
> > > 2.
On Wed, Feb 21, 2024 at 8:00 AM Elena Ufimtseva wrote:
>
>
>
> On Fri, Feb 16, 2024 at 2:42 PM Hao Xiang wrote:
>>
>> 1. Implements the zero page detection and handling on the multifd
>> threads for non-compression, zlib and zstd compression backends.
>> 2. Added a new value 'multifd' in
On Fri, Feb 16, 2024 at 9:08 PM Richard Henderson
wrote:
>
> On 2/16/24 12:39, Hao Xiang wrote:
> > +void multifd_zero_page_check_recv(MultiFDRecvParams *p)
> > +{
> > +for (int i = 0; i < p->zero_num; i++) {
> > +void *page = p->host + p->zero[i];
> > +if