Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Vinicius Costa Gomes <vinicius.gomes@intel.com>
To: Miroslav Lichvar <mlichvar@redhat.com>
Cc: Vladimir Oltean <vladimir.oltean@nxp.com>,
	kurt@linutronix.de, anthony.l.nguyen@intel.com,
	intel-wired-lan@lists.osuosl.org
Subject: Re: [Intel-wired-lan] [PATCH next-queue v1 0/3] igc: Add support for multiple TX tstamp requests
Date: Wed, 22 Mar 2023 14:46:25 -0700	[thread overview]
Message-ID: <87o7oko3wu.fsf@intel.com> (raw)
In-Reply-To: <ZBsm4GLfzyfQsHJ1@localhost>

Hi,

Miroslav Lichvar <mlichvar@redhat.com> writes:

> On Thu, Mar 09, 2023 at 02:57:28PM -0800, Vinicius Costa Gomes wrote:
>> Vladimir Oltean <vladimir.oltean@nxp.com> writes:
>> > If the application never generates multiple requests in flight, then
>> > this evaluation is only testing patch 3 (and patches 1 and 2 only to the
>> > extent that they don't cause a regression), right?
>> >
>> 
>> That's right. I was more interested in not causing a regression. I could
>> run the same test with two (or more) applications and give some numbers,
>> but those numbers couldn't be directly compared with the current version
>> of the code.
>> 
>> But good idea. I will change the application to send "batches" of
>> packets, so I can configure the number of "in flight" requests.
>
> If you wanted to see the impact on performance and accuracy of
> timestamps at the same time, you could use chrony as an NTP server and
> generate load with ntpperf. The server can be started as
>
> # chronyd -d local allow 'hwtimestamp eth0' 'clientloglimit 10000000'
>
> ntpperf needs to be started with the -I -H -o options to measure
> the difference between server HW TX timestamp and client HW RX
> timestamp. The PHC used by ntpperf needs to be synchronized, ideally
> via a separate PHC (e.g. by ptp4l+phc2sys).
>
> If the multi-timestamp patches work well, I'd expect the stddev
> reported by ntpperf to stay low at a higher rate. See
> https://github.com/mlichvar/ntpperf for some examples.

I was going to start the testing for the second version of the series
just now.

This suggestion sounds great, let's see how it's going to look.


Cheers,
-- 
Vinicius
_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

      reply	other threads:[~2023-03-22 21:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-28  5:45 [Intel-wired-lan] [PATCH next-queue v1 0/3] igc: Add support for multiple TX tstamp requests Vinicius Costa Gomes
2023-02-28  5:45 ` [Intel-wired-lan] [PATCH next-queue v1 1/3] igc: Fix race condition in PTP tx code Vinicius Costa Gomes
2023-02-28 17:33   ` Vladimir Oltean
2023-03-09 21:33     ` Vinicius Costa Gomes
     [not found]   ` <20230313095648.czf4so6qpkcotqq4@pengutronix.de>
2023-03-14 19:19     ` Vinicius Costa Gomes
2023-02-28  5:45 ` [Intel-wired-lan] [PATCH next-queue v1 2/3] igc: Add support for multiple in-flight TX timestamps Vinicius Costa Gomes
2023-02-28 17:45   ` Vladimir Oltean
2023-03-09 21:39     ` Vinicius Costa Gomes
2023-02-28  5:45 ` [Intel-wired-lan] [PATCH next-queue v1 3/3] igc: Use ptp->aux_worker to retrieve " Vinicius Costa Gomes
2023-02-28 18:16   ` Vladimir Oltean
2023-03-09 21:58     ` Vinicius Costa Gomes
     [not found]   ` <20230313100207.ztxhu3cbxkb5c6iy@pengutronix.de>
2023-03-13 22:13     ` Vinicius Costa Gomes
2023-02-28 18:27 ` [Intel-wired-lan] [PATCH next-queue v1 0/3] igc: Add support for multiple TX tstamp requests Vladimir Oltean
2023-03-09 22:57   ` Vinicius Costa Gomes
2023-03-22 16:03     ` Miroslav Lichvar
2023-03-22 21:46       ` Vinicius Costa Gomes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7oko3wu.fsf@intel.com \
    --to=vinicius.gomes@intel.com \
    --cc=anthony.l.nguyen@intel.com \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=kurt@linutronix.de \
    --cc=mlichvar@redhat.com \
    --cc=vladimir.oltean@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox