Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > user buffer question

Reply
Thread Tools Display Modes

user buffer question

 
 
Kid
Guest
Posts: n/a

 
      07-05-2010
hi

Can we use virtual memory or file mapping view buffer for device control and
read / write ? How can we send large data more than gigabytes to USB device
?

Thank for your teaching .

 
Reply With Quote
 
 
 
 
Kid
Guest
Posts: n/a

 
      07-06-2010
What is the max buffer size do you suggest ?


"Don Burn" wrote:

> Why would you want to have a gigabyte buffer? USB (even USB 3.0) is not
> fast enough to warrant this type of buffering. Your approach would
> consume significant system resources so slow down the whole computer. If
> this is a commercial product please let us know what company so we can
> boycott the firm offering it.
>
>
> Don Burn (MVP, Windows DKD)
> Windows Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
>
>
>
> > -----Original Message-----
> > From: Kid [private.php?do=newpm&u=]
> > Posted At: Monday, July 05, 2010 12:23 AM
> > Posted To: microsoft.public.development.device.drivers
> > Conversation: user buffer question
> > Subject: user buffer question
> >
> > hi
> >
> > Can we use virtual memory or file mapping view buffer for device control
> > and
> > read / write ? How can we send large data more than gigabytes to USB
> > device
> > ?
> >
> > Thank for your teaching .
> >
> >
> > __________ Information from ESET Smart Security, version of virus
> > signature
> > database 5251 (20100704) __________
> >
> > The message was checked by ESET Smart Security.
> >
> > http://www.eset.com
> >

>
> .
>

 
Reply With Quote
 
Tim Roberts
Guest
Posts: n/a

 
      07-07-2010
Kid <> wrote:
>
>What is the max buffer size do you suggest ?


You need to do the math here. A gigabyte is going to take 20 or 25 seconds
to transfer, so there's no performance benefit in doing it as one big
transfer vs a whole bunch of smaller transfers. As long as the transfers
are multiples of 512 bytes, the device will see it as one big transfer.
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mystery User names... Mrpush Active Directory 7 04-29-2010 06:38 AM
Re: win 7 new to accounts help - How to Fix the Error The User Profile Service failed the logon User profile cannot be loaded Ace Fekay [MVP-DS, MCT] Windows Server 0 01-24-2010 04:15 AM
KDC Event ID 7 and Wins startup errors. GihanZ Windows Small Business Server 4 11-23-2009 01:43 AM
Mailbox question: Emails show up in the user computer with Cache enabled but disappear from the mailbox in the Server Pedro R. Windows Small Business Server 3 11-05-2009 05:39 AM
User Accounts can't be set to Administrator Steve A. Windows Vista Administration 10 03-09-2008 06:35 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59