Forum Topic - CACHE_FLAG_SNOOPED and devb-umass: (8 Items)
   
CACHE_FLAG_SNOOPED and devb-umass  
Hi,

We are working on a project that requires >10MB/sec transfers from USB.  We are working with the Freescale MPC8349EA 
processor.  We are using QNX 6.3.2.  We are using a USB drive that we've verified (under Linux) will easily do 25 to 28 
MB/sec sustained transfer rates.

USB Transfers using default 6.3.2 components give us around 6 MB/sec data transfers.  So we got a hold of the code and 
began looking for reasons as to why the transfers were so slow.  We came across the bounce buffers and the 
CACHE_FLAG_SNOOPED flag.

Setting this flag in ppcv_cpuinfo_8200.c and building a new image did indeed bypass the bounce buffers and allowed 15 to
 18 MB/sec sustained transfers, but USB was very unreliable at detection.

If we could get USB to detect the USB drive, the transfer rates were wonderful.  But it was flaky.

So we took the latest code from the source tree (io-blk, cam, fs-dos, etc) and built it and installed these instead of 
the default 6.3.2 components.

Detection became reliable but now reading and writing are flaky.

We may undertake upgrading to 6.4.x, however, it would require extensive Ethernet driver changes because of our 
particular configuration, so I'd like to avoid that if possible.

Can anyone help me understand why the bounce buffers are necessary and what we might be able to do to get this to run 
reliably?

Any pointers or insights are appreciated.

Thanks
Keivn
RE: CACHE_FLAG_SNOOPED and devb-umass  
Perhaps you may have better luck in the BSP-s forum. 
--
  Mate
-----Original Message-----
From: Kevin Stallard [mailto:community-noreply@qnx.com] 
Sent: June 17, 2010 6:45 AM
To: general-filesystems
Subject: CACHE_FLAG_SNOOPED and devb-umass

Hi,

We are working on a project that requires >10MB/sec transfers from USB.
We are working with the Freescale MPC8349EA processor.  We are using QNX
6.3.2.  We are using a USB drive that we've verified (under Linux) will
easily do 25 to 28 MB/sec sustained transfer rates.

USB Transfers using default 6.3.2 components give us around 6 MB/sec
data transfers.  So we got a hold of the code and began looking for
reasons as to why the transfers were so slow.  We came across the bounce
buffers and the CACHE_FLAG_SNOOPED flag.

Setting this flag in ppcv_cpuinfo_8200.c and building a new image did
indeed bypass the bounce buffers and allowed 15 to 18 MB/sec sustained
transfers, but USB was very unreliable at detection.

If we could get USB to detect the USB drive, the transfer rates were
wonderful.  But it was flaky.

So we took the latest code from the source tree (io-blk, cam, fs-dos,
etc) and built it and installed these instead of the default 6.3.2
components.

Detection became reliable but now reading and writing are flaky.

We may undertake upgrading to 6.4.x, however, it would require extensive
Ethernet driver changes because of our particular configuration, so I'd
like to avoid that if possible.

Can anyone help me understand why the bounce buffers are necessary and
what we might be able to do to get this to run reliably?

Any pointers or insights are appreciated.

Thanks
Keivn




_______________________________________________

General
http://community.qnx.com/sf/go/post57026
Re: RE: CACHE_FLAG_SNOOPED and devb-umass  
Well...I'll go ahead and cross post, but bounce buffers seem to be a cam (xport layer) related item, not so much related
 to a BSP...the CACHE_FLAG_SNOOPED certainly is  BSP related, but isn't cam more closely related to file systems?

Thanks
Kevin
RE: RE: CACHE_FLAG_SNOOPED and devb-umass  
Okay, your judgement; I may have been wrong. 
--
  Mate

-----Original Message-----
From: Kevin Stallard [mailto:community-noreply@qnx.com] 
Sent: June 17, 2010 9:16 AM
To: general-filesystems
Subject: Re: RE: CACHE_FLAG_SNOOPED and devb-umass

Well...I'll go ahead and cross post, but bounce buffers seem to be a cam
(xport layer) related item, not so much related to a BSP...the
CACHE_FLAG_SNOOPED certainly is  BSP related, but isn't cam more closely
related to file systems?

Thanks
Kevin




_______________________________________________

General
http://community.qnx.com/sf/go/post57032
Thomas Luetzel/EHPCM/DE is not in the office. [virus checked]  
Ich werde ab  05.06.2010 nicht im Büro sein. Ich kehre zurück am
18.06.2010.

I will answer this mail after my return.

Kind Regards,
Thomas Luetzel



_________________________________________________________________________


Endress+Hauser GmbH+Co. KG
Amtsgericht : Freiburg i.Br. HRA 670225
Sitz der Gesellschaft : Maulburg
Persönlich haftender Gesellschafter : Endress+Hauser Verwaltungs-GmbH
Sitz der Gesellschaft : Maulburg
Amtsgericht : Freiburg i.Br. HRB 670222
Geschäftsführer : Matthias Altendorf


Endress+Hauser GmbH+Co. KG
County Court : Freiburg i.Br. HRA 670225
Registered Office : Maulburg
Generell Partner : Endress+Hauser Verwaltungs-GmbH
Registered Office : Maulburg
County Court : Freiburg i.Br. HRB 670222
General Manager : Matthias Altendorf

__________________________________________________________________________

Disclaimer:

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you receive
this in error, please contact the sender and delete the material from any
computer.

__________________________________________________________________________

http://www.endress.com/
Thomas Luetzel/EHPCM/DE is not in the office. [virus checked]  
Ich werde ab  05.06.2010 nicht im Büro sein. Ich kehre zurück am
18.06.2010.

I will answer this mail after my return.

Kind Regards,
Thomas Luetzel



_________________________________________________________________________


Endress+Hauser GmbH+Co. KG
Amtsgericht : Freiburg i.Br. HRA 670225
Sitz der Gesellschaft : Maulburg
Persönlich haftender Gesellschafter : Endress+Hauser Verwaltungs-GmbH
Sitz der Gesellschaft : Maulburg
Amtsgericht : Freiburg i.Br. HRB 670222
Geschäftsführer : Matthias Altendorf


Endress+Hauser GmbH+Co. KG
County Court : Freiburg i.Br. HRA 670225
Registered Office : Maulburg
Generell Partner : Endress+Hauser Verwaltungs-GmbH
Registered Office : Maulburg
County Court : Freiburg i.Br. HRB 670222
General Manager : Matthias Altendorf

__________________________________________________________________________

Disclaimer:

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you receive
this in error, please contact the sender and delete the material from any
computer.

__________________________________________________________________________

http://www.endress.com/
Thomas Luetzel/EHPCM/DE is not in the office. [virus checked]  
Ich werde ab  05.06.2010 nicht im Büro sein. Ich kehre zurück am
18.06.2010.

I will answer this mail after my return.

Kind Regards,
Thomas Luetzel



_________________________________________________________________________


Endress+Hauser GmbH+Co. KG
Amtsgericht : Freiburg i.Br. HRA 670225
Sitz der Gesellschaft : Maulburg
Persönlich haftender Gesellschafter : Endress+Hauser Verwaltungs-GmbH
Sitz der Gesellschaft : Maulburg
Amtsgericht : Freiburg i.Br. HRB 670222
Geschäftsführer : Matthias Altendorf


Endress+Hauser GmbH+Co. KG
County Court : Freiburg i.Br. HRA 670225
Registered Office : Maulburg
Generell Partner : Endress+Hauser Verwaltungs-GmbH
Registered Office : Maulburg
County Court : Freiburg i.Br. HRB 670222
General Manager : Matthias Altendorf

__________________________________________________________________________

Disclaimer:

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you receive
this in error, please contact the sender and delete the material from any
computer.

__________________________________________________________________________

http://www.endress.com/
Thomas Luetzel/EHPCM/DE is not in the office. [virus checked]  
Ich werde ab  05.06.2010 nicht im Büro sein. Ich kehre zurück am
18.06.2010.

I will answer this mail after my return.

Kind Regards,
Thomas Luetzel



_________________________________________________________________________


Endress+Hauser GmbH+Co. KG
Amtsgericht : Freiburg i.Br. HRA 670225
Sitz der Gesellschaft : Maulburg
Persönlich haftender Gesellschafter : Endress+Hauser Verwaltungs-GmbH
Sitz der Gesellschaft : Maulburg
Amtsgericht : Freiburg i.Br. HRB 670222
Geschäftsführer : Matthias Altendorf


Endress+Hauser GmbH+Co. KG
County Court : Freiburg i.Br. HRA 670225
Registered Office : Maulburg
Generell Partner : Endress+Hauser Verwaltungs-GmbH
Registered Office : Maulburg
County Court : Freiburg i.Br. HRB 670222
General Manager : Matthias Altendorf

__________________________________________________________________________

Disclaimer:

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you receive
this in error, please contact the sender and delete the material from any
computer.

__________________________________________________________________________

http://www.endress.com/