From: lihg <lihg@necas.nec.com.cn>
To: linux-kernel@vger.kernel.org
Subject: How to improve my dirver's performance
Date: Tue, 06 Jul 2004 13:02:18 +0800 [thread overview]
Message-ID: <40EA325A.2060507@necas.nec.com.cn> (raw)
I have writen a driver as this :
1)a kernel thread receive data sent by other computer via tcp/ip, and
put them into a queue;
2)another kernel thread get the data from the queue ,and write it to a
disk .In this step,i implement by the follow code:
......
generic_make_request(WRITE,bh);//the buffer head is alloced by
kmalloc by myself
run_task_queue(&tq_disk);
......
My problem :
In this way ,the disk's performance is bad.
How can i do to improve the disk's performance ?
Please give me a hand.
reply other threads:[~2004-07-06 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=40EA325A.2060507@necas.nec.com.cn \
--to=lihg@necas.nec.com.cn \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®