From: Jens Axboe <axboe@kernel.dk>
To: Jeff Furlong <jeff.furlong@wdc.com>,
"fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: fio server/client disconnect bug
Date: Wed, 21 Mar 2018 13:49:30 -0600 [thread overview]
Message-ID: <82ede445-cba9-8611-0d28-0f21aaab3875@kernel.dk> (raw)
In-Reply-To: <SN6PR04MB4064F083D89C0947AB30857A8FAA0@SN6PR04MB4064.namprd04.prod.outlook.com>
On 3/21/18 1:45 PM, Jeff Furlong wrote:
> There is noticeable slowdown with this patch. Seems some iterations (even successful) are taking several seconds of usleep(). Eventually hit a new issue:
>
> fio: client host1, timeout on cmd SEND_ETA
> fio: client host1 timed out
>
> But host1 still logged the iops/bw/lat logs, but did not send summary to output.
Can you try this one?
diff --git a/server.c b/server.c
index 65d4484edae5..6064d8172a3b 100644
--- a/server.c
+++ b/server.c
@@ -616,7 +616,7 @@ static int fio_net_queue_quit(void)
{
dprint(FD_NET, "server: sending quit\n");
- return fio_net_queue_cmd(FIO_NET_CMD_QUIT, NULL, 0, NULL, SK_F_SIMPLE | SK_F_INLINE);
+ return fio_net_queue_cmd(FIO_NET_CMD_QUIT, NULL, 0, NULL, SK_F_SIMPLE);
}
int fio_net_send_quit(int sk)
@@ -636,7 +636,7 @@ static int fio_net_send_ack(struct fio_net_cmd *cmd, int error, int signal)
epdu.error = __cpu_to_le32(error);
epdu.signal = __cpu_to_le32(signal);
- return fio_net_queue_cmd(FIO_NET_CMD_STOP, &epdu, sizeof(epdu), &tag, SK_F_COPY | SK_F_INLINE);
+ return fio_net_queue_cmd(FIO_NET_CMD_STOP, &epdu, sizeof(epdu), &tag, SK_F_COPY);
}
static int fio_net_queue_stop(int error, int signal)
--
Jens Axboe
next prev parent reply other threads:[~2018-03-21 19:49 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-16 0:32 fio server/client disconnect bug Jeff Furlong
2018-03-21 0:16 ` Jeff Furlong
2018-03-21 15:19 ` Jens Axboe
2018-03-21 16:19 ` Jens Axboe
2018-03-21 16:27 ` Jens Axboe
2018-03-21 16:35 ` Jeff Furlong
2018-03-21 16:38 ` Jens Axboe
2018-03-21 16:58 ` Jeff Furlong
2018-03-21 17:12 ` Jens Axboe
2018-03-21 18:16 ` Jeff Furlong
2018-03-21 18:38 ` Jens Axboe
2018-03-21 19:03 ` Jens Axboe
2018-03-21 19:10 ` Jens Axboe
2018-03-21 19:44 ` Jens Axboe
2018-03-21 19:45 ` Jeff Furlong
2018-03-21 19:49 ` Jens Axboe [this message]
2018-03-21 21:45 ` Jeff Furlong
2018-03-21 21:47 ` Jens Axboe
2018-03-21 21:51 ` Jens Axboe
2018-03-21 21:58 ` Jeff Furlong
2018-03-21 19:23 ` Jeff Furlong
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=82ede445-cba9-8611-0d28-0f21aaab3875@kernel.dk \
--to=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=jeff.furlong@wdc.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