Hii

I wanna copy an NTFs partition to another partition of same type and same size.And I tried with windows function
Copyfile() and it worked but slow speed is a problem.Then I did with readfile() and WriteFile() instead of Copyfile() again speed is a problem.

How can I get a better speed...??

I did the same operation in kernel mode and getting slow performance using zwCreatefile() ,zwReadfile() & zwWriteFile()...

How can I get a better speed .....?

Any idea to help me...

I know fundamentally Kernel mode(ring 0) is slower than User mode in speed ,(even if ring 0 can access Hardware directly).....


Apart them these I tried also Asynchronous operation by setting OVERLAPPED flag in CreateFile.... getting small improvement....


But that one doesn't give reasonable speed......


Any idea to help...

I have used the Acronis Disk director suite.I exclaimed after finding it's speed......???


Any idea to help me...???


-----------------------
Thanking you
------------------------

Recommended Answers

All 4 Replies

I'm not sure it can get much faster, have you used a backup program? They can take hours to do their job.

Thanks for the reply.....


Can you give me any links to the "white papers related to this section""

Any body know Any new algorithms......for the fast copy operation...

I searched but no way to get........

--------------------
Thanking you
------------------

Have everything compressed before hand.

And what's your code, show us you're not doing something idiotic.

I do not compress the data .......

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.