mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* How to improve my dirver's performance
@ 2004-07-06  5:02 lihg
  0 siblings, 0 replies; only message in thread
From: lihg @ 2004-07-06  5:02 UTC (permalink / raw)
  To: linux-kernel

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.






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-06  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-06  5:02 How to improve my dirver's performance lihg

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®