From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Question about memcpy
Date: Thu, 12 Jul 2018 16:53:35 +0200 [thread overview]
Message-ID: <20180712145335.GA17291@kroah.com> (raw)
In-Reply-To: <CACdNawrsaTtA4F+MY5+5h3tAj6RSLjk6jxy0HCXP2uE5ec5m5A@mail.gmail.com>
A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
A: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
On Thu, Jul 12, 2018 at 10:27:37PM +0800, bing zhu wrote:
> as for memcpy ,kernel is faster than user ,might because schedule ,can i try to
> make user as fast as kernel ?
You can bind a specific CPU to your userspace task, and have it only run
that program and not get interupted at all for anything. That would
make it as fast as the kernel runs. Lots of people do that in high
frequency trading as they don't want the CPU to get in the way of their
work or response times to the network.
But without doing fancy tricks like that, no. Think about what an
operating system does. It's job is to schedule things that need to be
done behind the back of your program. Otherwise there's no need for it,
right?
good luck!
greg k-h
next prev parent reply other threads:[~2018-07-12 14:53 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-07 11:36 Question about memcpy bing zhu
2018-07-07 18:44 ` valdis.kletnieks at vt.edu
2018-07-08 14:03 ` bing zhu
2018-07-09 7:54 ` 袁建鹏
2018-07-09 8:14 ` bing zhu
2018-07-09 14:04 ` Himanshu Jha
2018-07-09 16:16 ` valdis.kletnieks at vt.edu
2018-07-14 10:10 ` Himanshu Jha
2018-07-10 4:50 ` bing zhu
2018-07-10 6:22 ` Greg KH
2018-07-10 14:51 ` bing zhu
2018-07-10 14:57 ` Greg KH
2018-07-10 16:03 ` valdis.kletnieks at vt.edu
2018-07-12 4:47 ` bing zhu
2018-07-12 5:34 ` Greg KH
2018-07-12 14:27 ` bing zhu
2018-07-12 14:53 ` Greg KH [this message]
2018-07-13 3:02 ` bing zhu
2018-07-13 7:33 ` valdis.kletnieks at vt.edu
2018-07-17 2:44 ` bing zhu
2018-07-12 16:49 ` valdis.kletnieks at vt.edu
-- strict thread matches above, loose matches on Subject: below --
2018-07-07 13:21 Alex Arvelaez
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=20180712145335.GA17291@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/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;
as well as URLs for NNTP newsgroup(s).