Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2001 18:35:44 -0500
From:      "Mark Brown" <simm_s_list@hotmail.com>
To:        <hackers@freebsd.org>
Subject:   uiomove performance?
Message-ID:  <OE75oghBePrbNhQpxU300001872@hotmail.com>

next in thread | raw e-mail | index | archive | help
Does anyone know if there is a significant performance gain to maintaining
scatter/gather lists with uio rather than writing the s/g routine yourself.

To be more specific:
I currently have a routine that takes a memory segments and places them in a
contiguous memory buffer. We need to optimize the routine for better CPU
utilization. We currently get the memory list and organize it using memcopy.
I would like to use uiomove but it is hard to justify the time needed to
convert the current routine to uiomove if there is only a insignificant
performance gain. Keep in mind this routine is being called frequently.

I would like to justify to my boss that using uiomove would have significant
performance benefits over our current routine that uses memcopy.

-- Mark

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE75oghBePrbNhQpxU300001872>