Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Help! I'm trapped in a PDP 11/70!


devel / comp.os.ms-windows.programmer.win32 / Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

SubjectAuthor
* Copying a number of files one-by-one onto an USB stick slows down to a crawl. HR.Wieser
+* Re: Copying a number of files one-by-one onto an USB stick slows downPaul
|`* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
| `* Re: Copying a number of files one-by-one onto an USB stick slows downBrian Gregory
|  `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
|   +* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlMayayana
|   |+- Re: Copying a number of files one-by-one onto an USB stick slows downPaul
|   |`* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
|   | `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlFrank Slootweg
|   |  `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
|   |   `* Re: Copying a number of files one-by-one onto an USB stick slows downBrian Gregory
|   |    `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
|   |     `* Re: Copying a number of files one-by-one onto an USB stick slows downBrian Gregory
|   |      `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
|   |       `* Re: Copying a number of files one-by-one onto an USB stick slows downPaul
|   |        `* Re: Copying a number of files one-by-one onto an USB stick slows downPaul
|   |         `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
|   |          +- Re: Copying a number of files one-by-one onto an USB stick slows downPaul
|   |          `* Re: Copying a number of files one-by-one onto an USB stick slows downBrian Gregory
|   |           `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
|   |            `* Re: Copying a number of files one-by-one onto an USB stick slows downBrian Gregory
|   |             `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
|   |              +* Re: Copying a number of files one-by-one onto an USB stick slows downBrian Gregory
|   |              |`* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
|   |              | `* Re: Copying a number of files one-by-one onto an USB stick slows downBrian Gregory
|   |              |  `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
|   |              |   `- Re: Copying a number of files one-by-one onto an USB stick slows downBrian Gregory
|   |              `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlFrank Slootweg
|   |               +- Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
|   |               `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlMayayana
|   |                +* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlFrank Slootweg
|   |                |`- Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlMayayana
|   |                `- Re: Copying a number of files one-by-one onto an USB stick slows downPaul
|   +* Re: Copying a number of files one-by-one onto an USB stick slowsCharlie Gibbs
|   |`- Re: Copying a number of files one-by-one onto an USB stick slows downPaul
|   `- Re: Copying a number of files one-by-one onto an USB stick slows downBrian Gregory
+* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlMayayana
|`- Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
+- Re: Copying a number of files one-by-one onto an USB stick slowsSjouke Burry
+* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlChar Jackson
|`* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
| +* Re: Copying a number of files one-by-one onto an USB stick slows downPaul
| |`* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
| | `* Re: Copying a number of files one-by-one onto an USB stick slows downHerbert Kleebauer
| |  `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
| |   +* Re: Copying a number of files one-by-one onto an USB stick slowsCharlie Gibbs
| |   |+- Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlAnt
| |   |`* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
| |   | `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlChar Jackson
| |   |  `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
| |   |   `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlChar Jackson
| |   |    `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
| |   |     `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlChar Jackson
| |   |      `- Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
| |   `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlFrank Slootweg
| |    +* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
| |    |`* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlFrank Slootweg
| |    | `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
| |    |  `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlFrank Slootweg
| |    |   `- Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
| |    `* Re: Copying a number of files one-by-one onto an USB stick slows downHerbert Kleebauer
| |     `- Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlFrank Slootweg
| `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlChar Jackson
|  `- Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
+* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlSteve Hayes
|`* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
| `* Re: Copying a number of files one-by-one onto an USB stick slows downMike S
|  `- Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlR.Wieser
`* Re: Copying a number of files one-by-one onto an USB stick slows downBrian Gregory
 `* Re: Copying a number of files one-by-one onto an USB stick slows downPaul
  `* Re: Copying a number of files one-by-one onto an USB stick slows down to a crawlJ. P. Gilliver (John)
   `- Re: Copying a number of files one-by-one onto an USB stick slows downPaul

Pages:123
Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<srsrr5$3gt$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=308&group=comp.os.ms-windows.programmer.win32#308

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: Fri, 14 Jan 2022 22:14:42 +0100
Organization: Aioe.org NNTP Server
Lines: 18
Message-ID: <srsrr5$3gt$1@gioia.aioe.org>
References: <srme2e$1vrg$1@gioia.aioe.org> <v64utg5ktgln158l7ldl6ufog88fk99o9a@4ax.com> <srosrt$i5l$1@gioia.aioe.org> <srp8s5$jau$1@dont-email.me> <srpj9g$1ugf$1@gioia.aioe.org> <srpo0p$fm5$1@gioia.aioe.org> <srq3mg$2mu$1@gioia.aioe.org> <srs7jn.das.1@ID-201911.user.individual.net> <srsdcu$1be8$1@gioia.aioe.org> <srskmo.d9k.1@ID-201911.user.individual.net>
Injection-Info: gioia.aioe.org; logging-data="3613"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-Notice: Filtered by postfilter v. 0.9.2
 by: R.Wieser - Fri, 14 Jan 2022 21:14 UTC

Frank,

> Sorry, a case of sloppy reading! I thought you didn't understand
> Herbert's German text.

I'm actually from his west-side next-door neighbour, the Netherlands.

A lot of "nachsynchronisierter schaukasten films" (hope I wrote that right)
in my youth and a year getting at school enabled me to read most of it.

> I will now crawl back under my rock. :-)

Ah, you do not need to go /that/ far... :-p

Regards,
Rudy Wieser

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<srsrr6$3gt$2@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=309&group=comp.os.ms-windows.programmer.win32#309

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!kf5zxw.com!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: Fri, 14 Jan 2022 23:00:46 +0100
Organization: Aioe.org NNTP Server
Lines: 45
Message-ID: <srsrr6$3gt$2@gioia.aioe.org>
References: <srme2e$1vrg$1@gioia.aioe.org> <v64utg5ktgln158l7ldl6ufog88fk99o9a@4ax.com> <srosrt$i5l$1@gioia.aioe.org> <srp8s5$jau$1@dont-email.me> <srpj9g$1ugf$1@gioia.aioe.org> <srpo0p$fm5$1@gioia.aioe.org> <srq3mg$2mu$1@gioia.aioe.org> <vh4EJ.248287$1d1.185716@fx99.iad> <srre0o$104a$1@gioia.aioe.org> <c593ugtu1mfr8puu4ij7kpi1i6adsng76s@4ax.com> <srsdcv$1be8$2@gioia.aioe.org> <47k3ugttilo6j5pe6netcd9bv7bpk9dbte@4ax.com>
Injection-Info: gioia.aioe.org; logging-data="3613"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-MSMail-Priority: Normal
X-RFC2646: Format=Flowed; Original
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-Notice: Filtered by postfilter v. 0.9.2
 by: R.Wieser - Fri, 14 Jan 2022 22:00 UTC

Char,

> I suppose so, but I'd say that's preferable to the alternative, which
> is not knowing

Hmmm... not knowning versus losing everything. I think I would go for not
knowing.

> I suppose each file would have to be loaded in some way
....
> but all of the major container types give you an easy method to
> detect corruption of the container itself

Which happens by reading the whole container and than doing some checking
magic. A difference between lots of small parts versus one big blob.

Though the multiple small parts would need a seperate file to store all the
checksums. Either that, or add them as an alternate data stream to the
files themselves (which ofcourse would need the storage to be NTFS or
comparable in this regard)

> Right, you have to plan ahead. You have to ask yourself, are these
> files something that I care about?

Well, that is why I'm making backups of them, aren't I ? :-)

> If so, how much damage do I want to be prepared to correct?

I'm not prepared to repair anything.

On the other hand, I'm making multiple backups of stuff thats important to
me. If one even /hints/ of failing I make a new copy from it (or from one
of the others) - and compare it against one of the others to verify its
integrity.

> Quickpar creates additional files

Ah yes, ofcourse. For some reason I was thinking of the origional data
being wrapped in the parity/checksom/recovery data. Or that the data was
stored in a before mentioned alternate data stream.

Regards,
Rudy Wieser

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<fp84ugd5hbvhoql427beleid5gfq2lb3sr@4ax.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=310&group=comp.os.ms-windows.programmer.win32#310

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx26.iad.POSTED!not-for-mail
From: none@none.invalid (Char Jackson)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Message-ID: <fp84ugd5hbvhoql427beleid5gfq2lb3sr@4ax.com>
References: <srme2e$1vrg$1@gioia.aioe.org> <v64utg5ktgln158l7ldl6ufog88fk99o9a@4ax.com> <srosrt$i5l$1@gioia.aioe.org> <srp8s5$jau$1@dont-email.me> <srpj9g$1ugf$1@gioia.aioe.org> <srpo0p$fm5$1@gioia.aioe.org> <srq3mg$2mu$1@gioia.aioe.org> <vh4EJ.248287$1d1.185716@fx99.iad> <srre0o$104a$1@gioia.aioe.org> <c593ugtu1mfr8puu4ij7kpi1i6adsng76s@4ax.com> <srsdcv$1be8$2@gioia.aioe.org> <47k3ugttilo6j5pe6netcd9bv7bpk9dbte@4ax.com> <srsrr6$3gt$2@gioia.aioe.org>
X-Newsreader: Forte Agent 6.00/32.1186
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 22
X-Complaints-To: abuse(at)newshosting.com
NNTP-Posting-Date: Sat, 15 Jan 2022 01:31:48 UTC
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Fri, 14 Jan 2022 19:31:49 -0600
X-Received-Bytes: 1872
 by: Char Jackson - Sat, 15 Jan 2022 01:31 UTC

On Fri, 14 Jan 2022 23:00:46 +0100, "R.Wieser" <address@not.available>
wrote:

>Char,
>
>> I suppose so, but I'd say that's preferable to the alternative, which
>> is not knowing
>
>Hmmm... not knowning versus losing everything. I think I would go for not
>knowing.

That's a false choice, obviously. :-)

The choice is knowing or not knowing. It's much, much easier to check a
container (and by doing so, check all of its contents in one fell
swoop), than to check individual files.

It sounds like you have a solution that works for you, though, so it's
all good.

<snip>

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<srtu0h$5uu$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=311&group=comp.os.ms-windows.programmer.win32#311

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: Sat, 15 Jan 2022 08:44:02 +0100
Organization: Aioe.org NNTP Server
Lines: 28
Message-ID: <srtu0h$5uu$1@gioia.aioe.org>
References: <srme2e$1vrg$1@gioia.aioe.org> <v64utg5ktgln158l7ldl6ufog88fk99o9a@4ax.com> <srosrt$i5l$1@gioia.aioe.org> <srp8s5$jau$1@dont-email.me> <srpj9g$1ugf$1@gioia.aioe.org> <srpo0p$fm5$1@gioia.aioe.org> <srq3mg$2mu$1@gioia.aioe.org> <vh4EJ.248287$1d1.185716@fx99.iad> <srre0o$104a$1@gioia.aioe.org> <c593ugtu1mfr8puu4ij7kpi1i6adsng76s@4ax.com> <srsdcv$1be8$2@gioia.aioe.org> <47k3ugttilo6j5pe6netcd9bv7bpk9dbte@4ax.com> <srsrr6$3gt$2@gioia.aioe.org> <fp84ugd5hbvhoql427beleid5gfq2lb3sr@4ax.com>
Injection-Info: gioia.aioe.org; logging-data="6110"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Priority: 3
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-MSMail-Priority: Normal
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
 by: R.Wieser - Sat, 15 Jan 2022 07:44 UTC

Char,

> That's a false choice, obviously. :-)
>
> The choice is knowing or not knowing.

I don't think so. But lets not pursue this further, shall we.

> It's much, much easier to check a container (and by doing so,
> check all of its contents in one fell swoop), than to check
> individual files.

:-) Its not you doing the checking, but a program. And just as you can let
your containerizing program do the checking for you so can I start my
program to trawl thru all those files of mine and do the same.

> It sounds like you have a solution that works for you, though, so
> it's all good.

I was thinking the same.

Thanks for bringing your methods up though. It gave me other possibilities
to consider. Which is always good.

Regards,
Rudy Wieser

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<nu65ug9afb8e8bap9mkj77t01huiitukdi@4ax.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=312&group=comp.os.ms-windows.programmer.win32#312

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: hayesstw@telkomsa.net (Steve Hayes)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: Sat, 15 Jan 2022 12:07:49 +0200
Organization: Khanya Publications
Lines: 30
Message-ID: <nu65ug9afb8e8bap9mkj77t01huiitukdi@4ax.com>
References: <srme2e$1vrg$1@gioia.aioe.org>
Reply-To: hayesstw@yahoo.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="6b94f5d1be7f3d205e91b0fd1d7f8a40";
logging-data="22334"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+oPWjO2YbjjUXwWOcRJZaPM2LPjCpaDQg="
Cancel-Lock: sha1:jZ9Hrd8HL+gaGibah6Yqi0nDfoM=
X-No-Archive: yes
X-Antivirus-Status: Clean
X-Newsreader: Forte Free Agent 2.0/32.652
X-Antivirus: Avast (VPS 220114-4, 2022-01-14), Outbound message
 by: Steve Hayes - Sat, 15 Jan 2022 10:07 UTC

On Wed, 12 Jan 2022 12:28:35 +0100, "R.Wieser" <address@not.available>
wrote:

>I've got a simple program using CopyFile (kernel32) on an XPsp3 machine to
>copy a number of files to a 8GByte, FAT32 formatted USB stick, and notice
>that the whole thing slows down to a crawl (about 5 GByte consisting of
>50.000 files in over eight hours). I've also tried a another, different USB
>stick and see the same thing happen.

I use a batch file to do something similar, in order to copy data
files from my desktop computer (XP) to my laptop (Win7), and back
again.

Some of the files are compressed (ARJ or ZIP) and some are not.

Sometimes, especially on the XP machine, the USB connection drops in
the middle of a transfer, and then I need to run CHKDSK on the flash
drive, otherwise it slows down or might lose data.

Perhaps you could try running CHKDSK /f

--
Steve Hayes from Tshwane, South Africa
Web: http://www.khanya.org.za/stevesig.htm
Blog: http://khanya.wordpress.com
E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<srugnq$1fd8$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=313&group=comp.os.ms-windows.programmer.win32#313

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: Sat, 15 Jan 2022 14:03:38 +0100
Organization: Aioe.org NNTP Server
Lines: 21
Message-ID: <srugnq$1fd8$1@gioia.aioe.org>
References: <srme2e$1vrg$1@gioia.aioe.org> <nu65ug9afb8e8bap9mkj77t01huiitukdi@4ax.com>
Injection-Info: gioia.aioe.org; logging-data="48552"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MSMail-Priority: Normal
X-Priority: 3
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Notice: Filtered by postfilter v. 0.9.2
 by: R.Wieser - Sat, 15 Jan 2022 13:03 UTC

Steve,

> Sometimes, especially on the XP machine, the USB connection drops in
> the middle of a transfer, and then I need to run CHKDSK on the flash
> drive, otherwise it slows down or might lose data.

Thanks for the suggestion. Someone else mentioned that his stick heats up
while writing and causes problems like I described. Maybe yours has the
same problem ?

After I posted my above question and not getting a "Thats a well-known
problem" response I've done a number of tests. As it turns out the problem
is that specific USB stick (see the further posts I made)

As such I decided to effectivily bin it (I can still muck around with it,
but it won't ever be used for storage again)

Regards,
Rudy Wieser

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<srukeh.d68.1@ID-201911.user.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=314&group=comp.os.ms-windows.programmer.win32#314

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: this@ddress.is.invalid (Frank Slootweg)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: 15 Jan 2022 13:07:24 GMT
Organization: NOYB
Lines: 23
Message-ID: <srukeh.d68.1@ID-201911.user.individual.net>
References: <srme2e$1vrg$1@gioia.aioe.org> <v64utg5ktgln158l7ldl6ufog88fk99o9a@4ax.com> <srosrt$i5l$1@gioia.aioe.org> <srp8s5$jau$1@dont-email.me> <srpj9g$1ugf$1@gioia.aioe.org> <srpo0p$fm5$1@gioia.aioe.org> <srq3mg$2mu$1@gioia.aioe.org> <srs7jn.das.1@ID-201911.user.individual.net> <srsdcu$1be8$1@gioia.aioe.org> <srskmo.d9k.1@ID-201911.user.individual.net> <srsrr5$3gt$1@gioia.aioe.org>
X-Trace: individual.net 4Z9cGa29+HHu7k7e/wJ2qwIzNfN+EquOazgk5fPNAfSLZ5s9mr
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:7tqZ8FnnncWx1m5rXz+elnGeeRA=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-6.3-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
X-Antivirus: Avast (VPS 220114-4, 01/14/2022), Outbound message
X-Antivirus-Status: Clean
 by: Frank Slootweg - Sat, 15 Jan 2022 13:07 UTC

R.Wieser <address@not.available> wrote:
> Frank,
>
> > Sorry, a case of sloppy reading! I thought you didn't understand
> > Herbert's German text.
>
> I'm actually from his west-side next-door neighbour, the Netherlands.

Yes, I know that, like me, you're a Dutchie. In the beginning your
lastname had me thinking you were German, but that was a long time ago.

> A lot of "nachsynchronisierter schaukasten films" (hope I wrote that right)
> in my youth and a year getting at school enabled me to read most of it.

I hate(d) those films. Earth to Germany: John Wayne isn't (wasn't) a
German. And - in news programs - neither is Joe Biden. There's this
thing called 'subtitles', you should try it some time! :-(

> > I will now crawl back under my rock. :-)
>
> Ah, you do not need to go /that/ far... :-p

Well, it's actually quite cosy! :-)

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<sruvd8$qg$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=315&group=comp.os.ms-windows.programmer.win32#315

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: Sat, 15 Jan 2022 18:11:55 +0100
Organization: Aioe.org NNTP Server
Lines: 35
Message-ID: <sruvd8$qg$1@gioia.aioe.org>
References: <srme2e$1vrg$1@gioia.aioe.org> <v64utg5ktgln158l7ldl6ufog88fk99o9a@4ax.com> <srosrt$i5l$1@gioia.aioe.org> <srp8s5$jau$1@dont-email.me> <srpj9g$1ugf$1@gioia.aioe.org> <srpo0p$fm5$1@gioia.aioe.org> <srq3mg$2mu$1@gioia.aioe.org> <srs7jn.das.1@ID-201911.user.individual.net> <srsdcu$1be8$1@gioia.aioe.org> <srskmo.d9k.1@ID-201911.user.individual.net> <srsrr5$3gt$1@gioia.aioe.org> <srukeh.d68.1@ID-201911.user.individual.net>
Injection-Info: gioia.aioe.org; logging-data="848"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Priority: 3
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-Notice: Filtered by postfilter v. 0.9.2
X-MSMail-Priority: Normal
 by: R.Wieser - Sat, 15 Jan 2022 17:11 UTC

Frank,

> Yes, I know that, like me, you're a Dutchie. In the beginning your
> lastname had me thinking you were German, but that was a long time ago.

Well, I've been told that my great-granddad (or one above that) came from
Germany to try his luck here, and just never left. IOW, do seem to have
some german blood in me.

> I hate(d) those films. Earth to Germany: John Wayne isn't (wasn't) a
> German. And - in news programs - neither is Joe Biden.

nowerdays I have the same dislike towards televised movies. Not much of a
problem with having some dubbed stuff coming thru the news though.

> There's this thing called 'subtitles', you should try it some time! :-(

Gee, what an innovative idea. :-p

But yes, I take that over audio dubbing any time. Than again, I've always
found subtitles handy to support my understanding of what gets spoken.

>> > I will now crawl back under my rock. :-)
>>
>> Ah, you do not need to go /that/ far... :-p
>
> Well, it's actually quite cosy! :-)

Well yeah, but it hurts my back when I have to bow down that deep to look at
you when I want to talk to you. :-)

Regards,
Rudy Wieser

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<j4hds9Fkde6U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=316&group=comp.os.ms-windows.programmer.win32#316

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: void-invalid-dead-dontuse@email.invalid (Brian Gregory)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down
to a crawl. How to fix ?
Date: Sun, 16 Jan 2022 02:23:05 +0000
Lines: 26
Message-ID: <j4hds9Fkde6U1@mid.individual.net>
References: <srme2e$1vrg$1@gioia.aioe.org> <srmibm$amv$1@dont-email.me>
<srmmug$60h$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net WdUPRRiagHdrnSIoVCrHigJZQvu3LKDpR7B8snmSflYtZ2PgxW
Cancel-Lock: sha1:YtMvvLdqEA1lhhcHh35EAaSOp3w=
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-GB
In-Reply-To: <srmmug$60h$1@gioia.aioe.org>
 by: Brian Gregory - Sun, 16 Jan 2022 02:23 UTC

On 12/01/2022 13:52, R.Wieser wrote:
> Paul,
>
> Thanks for the suggestions.
>
> The reason why I copy files is that I can than access them using any kind of
> filebrowser - even a simple one which doesn't understand the concept of ZIP
> folders.
>
> As for the cluster size, the second USB stick was new, and as such I assume
> it was pre-formatted with the optimum block size. Also, it was NTFS (I had
> hoped it would make a difference, but it looks like it doesn't)
>
> And there is a problem with that suggestion : Years ago, when I thought of
> the same (micro-SD connected to a DOS 'puter), I was unable to get that
> optimum from the USB stick itself. No matter which drive interrogation
> function I looked at, none of them returned the size of the FLASH chips
> memory blocks . :-(

As a rule of thumb always format USB flash drives with 32K allocation
blocks. A possible alternative is to remember what size blocks were used
when it was brand new. By default Windoze tends to format USB flash with
blocks that are much too small.

--
Brian Gregory (in England).

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<ss0n0a$1r3n$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=317&group=comp.os.ms-windows.programmer.win32#317

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: Sun, 16 Jan 2022 09:20:43 +0100
Organization: Aioe.org NNTP Server
Lines: 30
Message-ID: <ss0n0a$1r3n$1@gioia.aioe.org>
References: <srme2e$1vrg$1@gioia.aioe.org> <srmibm$amv$1@dont-email.me> <srmmug$60h$1@gioia.aioe.org> <j4hds9Fkde6U1@mid.individual.net>
Injection-Info: gioia.aioe.org; logging-data="60535"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Notice: Filtered by postfilter v. 0.9.2
X-Priority: 3
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Response
 by: R.Wieser - Sun, 16 Jan 2022 08:20 UTC

Brian,

> As a rule of thumb always format USB flash drives with 32K allocation
> blocks.

Thanks. I've heard that number before, but never thought of it as an
universal one (true for sticks of any make and size). I've always assumed
that the flash-chips block size could/would change with the chips size.

> A possible alternative is to remember what size blocks were used when it
> was brand new.

You mean that I have to store those values for all my different (and
changing) sticks in a document somewhere (or a sticking it on the stick
itself) ? Yeah, I thought about that too. But as I cannot even seem to
be able to uniquely mark an individual stick (so I can look it up in a list)
....

> By default Windoze tends to format USB flash with blocks that are much too
> small.

And there I was, assuming that MS would know more about this that I could
ever hope to do, and therefore use some sensible default. :-(

Thanks for the info.

Regards,
Rudy Wieser

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<ss1764$q4l$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=318&group=comp.os.ms-windows.programmer.win32#318

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: mayayana@invalid.nospam (Mayayana)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: Sun, 16 Jan 2022 08:39:08 -0500
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <ss1764$q4l$1@dont-email.me>
References: <srme2e$1vrg$1@gioia.aioe.org> <srmibm$amv$1@dont-email.me> <srmmug$60h$1@gioia.aioe.org> <j4hds9Fkde6U1@mid.individual.net> <ss0n0a$1r3n$1@gioia.aioe.org>
Injection-Date: Sun, 16 Jan 2022 13:39:16 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="4a0097d481d22c2588c8b19b8d929dd3";
logging-data="26773"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19nkj4aZ2bmeqYCWUEL1uTlSlv+ofw3S20="
Cancel-Lock: sha1:NmbWFR65mUpBh8BYZIrkIPCB2os=
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-Priority: 3
X-MSMail-Priority: Normal
 by: Mayayana - Sun, 16 Jan 2022 13:39 UTC

"R.Wieser" <address@not.available> wrote

| > As a rule of thumb always format USB flash drives with 32K allocation
| > blocks.
| | Thanks. I've heard that number before, but never thought of it as an
| universal one (true for sticks of any make and size). I've always
assumed
| that the flash-chips block size could/would change with the chips size.
|

It's not universal. Block size only relates to the limits
of 4-byte integers. I don't know whether the counting is
an unsigned or signed number, but the blocks have to
be big enough that the number of them doesn't end up
more than the limit of a long integer on a 32-bit system.

| > A possible alternative is to remember what size blocks were used when it
| > was brand new.
| | You mean that I have to store those values for all my different (and
| changing) sticks in a document somewhere (or a sticking it on the stick
| itself) ? Yeah, I thought about that too. But as I cannot even seem to
| be able to uniquely mark an individual stick (so I can look it up in a
list)
| ...
| | > By default Windoze tends to format USB flash with blocks that are much
too
| > small.
| | And there I was, assuming that MS would know more about this that I could
| ever hope to do, and therefore use some sensible default. :-(
| | Thanks for the info.
| | Regards,
| Rudy Wieser
| |

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<ss1a3n$ef1$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=319&group=comp.os.ms-windows.programmer.win32#319

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down
to a crawl. How to fix ?
Date: Sun, 16 Jan 2022 09:29:09 -0500
Organization: A noiseless patient Spider
Lines: 91
Message-ID: <ss1a3n$ef1$1@dont-email.me>
References: <srme2e$1vrg$1@gioia.aioe.org> <srmibm$amv$1@dont-email.me>
<srmmug$60h$1@gioia.aioe.org> <j4hds9Fkde6U1@mid.individual.net>
<ss0n0a$1r3n$1@gioia.aioe.org> <ss1764$q4l$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 16 Jan 2022 14:29:11 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2c98540e8a9ef94b4bf0cc1cd7a298b5";
logging-data="14817"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18GZDcdwyJ6FQxQGAJ/ebOErDy1t/SYKFk="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:YedzWl2HsvWqeOWLHKK7hXoMIBk=
In-Reply-To: <ss1764$q4l$1@dont-email.me>
Content-Language: en-US
 by: Paul - Sun, 16 Jan 2022 14:29 UTC

On 1/16/2022 8:39 AM, Mayayana wrote:
> "R.Wieser" <address@not.available> wrote
>
> | > As a rule of thumb always format USB flash drives with 32K allocation
> | > blocks.
> |
> | Thanks. I've heard that number before, but never thought of it as an
> | universal one (true for sticks of any make and size). I've always
> assumed
> | that the flash-chips block size could/would change with the chips size.
> |
>
> It's not universal. Block size only relates to the limits
> of 4-byte integers. I don't know whether the counting is
> an unsigned or signed number, but the blocks have to
> be big enough that the number of them doesn't end up
> more than the limit of a long integer on a 32-bit system.

I hoped to have two examples (using dead USB sticks),
but one of them, the datasheet is untraceable.

**********************************************
Lexar S73 32GB (Not exactly fast)

29f128g08cfaaa 16GBx2

Open NAND Flash Interface (ONFI) 2.2-compliant
Multiple-level cell (MLC) technology
Organization
Page size x8: 8640 bytes (8192 + 448 bytes) <=== the 448 bytes could be ECC
Block size: 256 pages (2048K + 112K bytes)
Plane size: 2 planes x 2048 blocks per plane
Device size: 64Gb: 4096 blocks;
128Gb: 8192 blocks; <===
256Gb: 16,384 blocks;
512Gb: 32,786 blocks
Endurance: 5000 PROGRAM/ERASE cycles

Array performance
Read page: 50μs (MAX)
Program page: 1300μs (TYP)
Erase block: 3ms (TYP)

Synchronous I/O performance
Up to synchronous timing mode 5
Clock rate: 10ns (DDR)
Read/write throughput per pin: 200 MT/s
**********************************************

I would think a cluster size of 8K or larger
would be a start, to reduce write amplification.

Note that Windows 7 preparation of the stick, should
align the beginning of the partition to 1MB (0x100000)
boundaries. And by aligning the partition to binary-power-of-two,
that avoids the OS trying to write "the end of one page and
a bit onto the second page".

Don't format the sticks on Windows XP, for fear or
screwing up the alignment.

Then do the experiment again.

The second chip I wanted to research was this,
but I got zero reasonable leads for this search.

***************************************
This is a 128GB miniature USB flash stick, with only
a single Ball Grid Array flash chip on it. Can't find a
datasheet, to get a page size. The marking on the chip
of "NW605" is not a part number, but seems to reference
the MT29F part number below.

Lexar S23-128 plastic barrel, 10MB/sec writes

3XA22 NW605 (BGA)

MT29F1T08CUEABH8-12:A
NAND Flash 1TBIT 83MHZ 152LBGA

This is one of those "really shouldn't be a USB3 product" designs.
The plastic barrel for the USB stick was a disaster, allowing
one of the USB3 high speed pins to snap off during insertion,
and dooming the device to reading at USB2 rates.
***************************************

I have other USB sticks that are still working, but on those
the trick to disassembling them without damaging them is not obvious
to me.

Paul

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<ss1bb2$ask$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=320&group=comp.os.ms-windows.programmer.win32#320

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: Sun, 16 Jan 2022 15:25:46 +0100
Organization: Aioe.org NNTP Server
Lines: 28
Message-ID: <ss1bb2$ask$1@gioia.aioe.org>
References: <srme2e$1vrg$1@gioia.aioe.org> <srmibm$amv$1@dont-email.me> <srmmug$60h$1@gioia.aioe.org> <j4hds9Fkde6U1@mid.individual.net> <ss0n0a$1r3n$1@gioia.aioe.org> <ss1764$q4l$1@dont-email.me>
Injection-Info: gioia.aioe.org; logging-data="11156"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-Notice: Filtered by postfilter v. 0.9.2
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Priority: 3
 by: R.Wieser - Sun, 16 Jan 2022 14:25 UTC

Mayayana,

> It's not universal. Block size only relates to the limits
> of 4-byte integers. I don't know whether the counting is
> an unsigned or signed number, but the blocks have to
> be big enough that the number of them doesn't end up
> more than the limit of a long integer on a 32-bit system.

Are you sure ? I mean, why would a flash chip do anything with individual
byte addressing over its whole range ?

As far as I know the reading/writing of the flash chip is broken up in two
parts : one command with an address to indicate which block needs to be
read/written, and another command with its own address to read bytes
from/write bytes to the flash-chips internal buffer.

As long as that buffer is smaller than what the OS can handle everything is
hunky-dory. Which might well be why the blocksize is limited to "just" 32
KByte.

Regards,
Rudy Wieser

P.s.
I just checked, and the largest "allocation size" I can choose is a mere
4096 bytes ....

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<ss1jbu.hfc.1@ID-201911.user.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=321&group=comp.os.ms-windows.programmer.win32#321

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.freedyn.de!speedkom.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: this@ddress.is.invalid (Frank Slootweg)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: 16 Jan 2022 16:07:26 GMT
Organization: NOYB
Lines: 13
Message-ID: <ss1jbu.hfc.1@ID-201911.user.individual.net>
References: <srme2e$1vrg$1@gioia.aioe.org> <srmibm$amv$1@dont-email.me> <srmmug$60h$1@gioia.aioe.org> <j4hds9Fkde6U1@mid.individual.net> <ss0n0a$1r3n$1@gioia.aioe.org> <ss1764$q4l$1@dont-email.me> <ss1bb2$ask$1@gioia.aioe.org>
X-Trace: individual.net if32Sp7wzDzTNI0B3izqggMiqXvV20RTeexBwCcZ59rn0ugMW4
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:WPq+VS3eMi7PH3Ekmk30ZD8smkQ=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-6.3-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
X-Antivirus: Avast (VPS 220116-2, 01/16/2022), Outbound message
X-Antivirus-Status: Clean
 by: Frank Slootweg - Sun, 16 Jan 2022 16:07 UTC

R.Wieser <address@not.available> wrote:
> P.s.
> I just checked, and the largest "allocation size" I can choose is a mere
> 4096 bytes ....

Maybe that's an XP limitation.

FWIW, on my Windows 8.1 system for a 4GB SD-card (i.e. not an USB
memory stick) the choices range from 1024 bytes to 32 kilobytes for
FAT32 and from 512 bytes to 64 kilobytes for NTFS.

What was your stick-size and type of filesystem again? (I lost track
in this long thread.)

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<ss1i9j$1huk$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=322&group=comp.os.ms-windows.programmer.win32#322

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: Sun, 16 Jan 2022 17:48:19 +0100
Organization: Aioe.org NNTP Server
Lines: 11
Message-ID: <ss1i9j$1huk$1@gioia.aioe.org>
References: <srme2e$1vrg$1@gioia.aioe.org> <srmibm$amv$1@dont-email.me> <srmmug$60h$1@gioia.aioe.org> <j4hds9Fkde6U1@mid.individual.net> <ss0n0a$1r3n$1@gioia.aioe.org> <ss1764$q4l$1@dont-email.me> <ss1bb2$ask$1@gioia.aioe.org> <ss1jbu.hfc.1@ID-201911.user.individual.net>
Injection-Info: gioia.aioe.org; logging-data="51156"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
 by: R.Wieser - Sun, 16 Jan 2022 16:48 UTC

Frank,

> What was your stick-size and type of filesystem again? (I lost
> track in this long thread.)

Its an 8 GByte stick currently NTFS formatted.

Regards,
Rudy Wieser

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<EGZEJ.784$8Q.16@fx19.iad>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=323&group=comp.os.ms-windows.programmer.win32#323

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!paganini.bofh.team!weretis.net!feeder8.news.weretis.net!npeer.as286.net!npeer-ng0.as286.net!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx19.iad.POSTED!not-for-mail
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: Copying a number of files one-by-one onto an USB stick slows
down to a crawl. How to fix ?
References: <srme2e$1vrg$1@gioia.aioe.org> <srmibm$amv$1@dont-email.me>
<srmmug$60h$1@gioia.aioe.org> <j4hds9Fkde6U1@mid.individual.net>
<ss0n0a$1r3n$1@gioia.aioe.org>
User-Agent: slrn/1.0.3 (Linux)
Lines: 15
Message-ID: <EGZEJ.784$8Q.16@fx19.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Sun, 16 Jan 2022 18:42:44 UTC
Date: Sun, 16 Jan 2022 18:42:44 GMT
X-Received-Bytes: 1409
 by: Charlie Gibbs - Sun, 16 Jan 2022 18:42 UTC

On 2022-01-16, R.Wieser <address@not.available> wrote:

>> By default Windoze tends to format USB flash with blocks that are much too
>> small.
>
> And there I was, assuming that MS would know more about this that I could
> ever hope to do, and therefore use some sensible default. :-(

Sensible default? Microsoft? Thanks - I needed a laugh this morning.

--
/~\ Charlie Gibbs | Microsoft is a dictatorship.
\ / <cgibbs@kltpzyxm.invalid> | Apple is a cult.
X I'm really at ac.dekanfrus | Linux is anarchy.
/ \ if you read it the right way. | Pick your poison.

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<ss1qoa$9bo$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=324&group=comp.os.ms-windows.programmer.win32#324

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down
to a crawl. How to fix ?
Date: Sun, 16 Jan 2022 14:13:12 -0500
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <ss1qoa$9bo$1@dont-email.me>
References: <srme2e$1vrg$1@gioia.aioe.org> <srmibm$amv$1@dont-email.me>
<srmmug$60h$1@gioia.aioe.org> <j4hds9Fkde6U1@mid.individual.net>
<ss0n0a$1r3n$1@gioia.aioe.org> <EGZEJ.784$8Q.16@fx19.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 16 Jan 2022 19:13:14 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2c98540e8a9ef94b4bf0cc1cd7a298b5";
logging-data="9592"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wAG0v7LWVqZINDt0iavmpiecufhXQekU="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:s5RL25X/l9TuXijwDty19+pk4+Y=
In-Reply-To: <EGZEJ.784$8Q.16@fx19.iad>
Content-Language: en-US
 by: Paul - Sun, 16 Jan 2022 19:13 UTC

On 1/16/2022 1:42 PM, Charlie Gibbs wrote:
> On 2022-01-16, R.Wieser <address@not.available> wrote:
>
>>> By default Windoze tends to format USB flash with blocks that are much too
>>> small.
>>
>> And there I was, assuming that MS would know more about this that I could
>> ever hope to do, and therefore use some sensible default. :-(
>
> Sensible default? Microsoft? Thanks - I needed a laugh this morning.
>

For formatting large FAT32 volumes (up to 2.2TB), the Ridgecrop
fat32formatter can do that. This solves the ~32GB limit Microsoft
has on fat32 partitions. I think there might be some cluster
size options as well.

https://web.archive.org/web/20200424145132/http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm

https://web.archive.org/web/20200410224838if_/http://www.ridgecrop.demon.co.uk/download/fat32format.zip

*******

Windows 10 has some extra-large cluster size options for
NTFS, but those are not backward compatible with NTFS
on earlier OSes, and I can't really recommend using
a 1MB cluster on Win10 and then not being able to
read it on Windows 7. Clusters up to 64KB might be
a bit more compatible across the OSes.

*******

4KB clusters are used on C: , so that Compression and
EFS encryption will work. Windows 10 C: used to support
having 64KB clusters on it. But after the third or
fourth upgrade, it stopped "tolerating" that choice.
I only discovered this by accident, by taking an older
partition and installing Windows 10 in it... without
reformatting first. Oops :-)

Since you are not normally installing Windows 10 C: on
a USB flash drive, this 4KB choice is not an issue.
The Windows To Go thing, might have been the reason
there was some room for non-standard clusters at first.
Once WTG was removed as an option, that would make it
easier for them to insist on 4KB clusters.

https://docs.microsoft.com/en-us/windows/deployment/planning/windows-to-go-overview

Paul

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<j4l3g5Fb5gmU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=325&group=comp.os.ms-windows.programmer.win32#325

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: void-invalid-dead-dontuse@email.invalid (Brian Gregory)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down
to a crawl. How to fix ?
Date: Mon, 17 Jan 2022 11:50:29 +0000
Lines: 17
Message-ID: <j4l3g5Fb5gmU1@mid.individual.net>
References: <srme2e$1vrg$1@gioia.aioe.org> <srmibm$amv$1@dont-email.me>
<srmmug$60h$1@gioia.aioe.org> <j4hds9Fkde6U1@mid.individual.net>
<ss0n0a$1r3n$1@gioia.aioe.org> <ss1764$q4l$1@dont-email.me>
<ss1bb2$ask$1@gioia.aioe.org> <ss1jbu.hfc.1@ID-201911.user.individual.net>
<ss1i9j$1huk$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net gJBAbX4IInDc/TIaL1GgOAsDxMkRHYdqUSaDFHr2lUrn9klTDT
Cancel-Lock: sha1:00Roji2v75N00DLp1QUCN8QXBeg=
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-GB
In-Reply-To: <ss1i9j$1huk$1@gioia.aioe.org>
 by: Brian Gregory - Mon, 17 Jan 2022 11:50 UTC

On 16/01/2022 16:48, R.Wieser wrote:
> Frank,
>
>> What was your stick-size and type of filesystem again? (I lost
>> track in this long thread.)
>
> Its an 8 GByte stick currently NTFS formatted.
>
> Regards,
> Rudy Wieser
>
>

If you want it to work fast don't use NTFS. Use FAT or exFAT.

--
Brian Gregory (in England).

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<j4l3s0Fb8r1U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=326&group=comp.os.ms-windows.programmer.win32#326

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: void-invalid-dead-dontuse@email.invalid (Brian Gregory)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down
to a crawl. How to fix ?
Date: Mon, 17 Jan 2022 11:56:47 +0000
Lines: 18
Message-ID: <j4l3s0Fb8r1U1@mid.individual.net>
References: <srme2e$1vrg$1@gioia.aioe.org> <srmibm$amv$1@dont-email.me>
<srmmug$60h$1@gioia.aioe.org> <j4hds9Fkde6U1@mid.individual.net>
<ss0n0a$1r3n$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net iKhre0nDQ7+npCnhT/+H5AhNn2h01GelBd5KAwA4VG5Uxs3aVc
Cancel-Lock: sha1:O4T9IKDD6Z2CjYYuC8NoTbMJgFM=
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-GB
In-Reply-To: <ss0n0a$1r3n$1@gioia.aioe.org>
 by: Brian Gregory - Mon, 17 Jan 2022 11:56 UTC

On 16/01/2022 08:20, R.Wieser wrote:
> Brian,
>
>> As a rule of thumb always format USB flash drives with 32K allocation
>> blocks.
>
> Thanks. I've heard that number before, but never thought of it as an
> universal one (true for sticks of any make and size). I've always assumed
> that the flash-chips block size could/would change with the chips size.

It probably does change. But we're not needing an exact match to get a
speed benefit.

Having a big block on the drive divided into many small allocation
blocks seems to be what can slow things down.

--
Brian Gregory (in England).

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<ss44t7$886$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=327&group=comp.os.ms-windows.programmer.win32#327

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: Mon, 17 Jan 2022 17:17:16 +0100
Organization: Aioe.org NNTP Server
Lines: 28
Message-ID: <ss44t7$886$1@gioia.aioe.org>
References: <srme2e$1vrg$1@gioia.aioe.org> <srmibm$amv$1@dont-email.me> <srmmug$60h$1@gioia.aioe.org> <j4hds9Fkde6U1@mid.individual.net> <ss0n0a$1r3n$1@gioia.aioe.org> <ss1764$q4l$1@dont-email.me> <ss1bb2$ask$1@gioia.aioe.org> <ss1jbu.hfc.1@ID-201911.user.individual.net> <ss1i9j$1huk$1@gioia.aioe.org> <j4l3g5Fb5gmU1@mid.individual.net>
Injection-Info: gioia.aioe.org; logging-data="8454"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-RFC2646: Format=Flowed; Response
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MSMail-Priority: Normal
X-Notice: Filtered by postfilter v. 0.9.2
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Priority: 3
 by: R.Wieser - Mon, 17 Jan 2022 16:17 UTC

Brian,

> If you want it to work fast don't use NTFS. Use FAT or exFAT.

I only reformatted to NTFS to check if the problem was perhaps files-system
related. It doesn't seem to be.

> It probably does change. But we're not needing an exact match to get a
> speed benefit.

Speed is one thing. Not needing reading-modify-write the same flash-block
is another. And that will happen if the allocation size is not the same
as, or a multiple of, the flash-block size.

> Having a big block on the drive divided into many small allocation blocks
> seems to be what can slow things down.

:-) you or the stick needing to do multiple read-modify-write actions will
/definitily/ slow the stick down more than a simple write action - even if
you just divide the flash block in (an uneven) two.

IOW, I do understand the mechanics behind it. Which is why I'm (still) a
bit surprised you cannot ask the stick for its optimum allocation size ...

Regards,
Rudy Wieser

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<ss5q2q$qoj$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=328&group=comp.os.ms-windows.programmer.win32#328

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: mscir@yahoo.com (Mike S)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down
to a crawl. How to fix ?
Date: Mon, 17 Jan 2022 23:26:18 -0800
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <ss5q2q$qoj$1@dont-email.me>
References: <srme2e$1vrg$1@gioia.aioe.org>
<nu65ug9afb8e8bap9mkj77t01huiitukdi@4ax.com> <srugnq$1fd8$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 18 Jan 2022 07:26:18 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d249f7319c055b34f408cde4e8882a2d";
logging-data="27411"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2iTE8yQGqeAMgRY5X9hdt"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Cancel-Lock: sha1:u/wjOjC4aEDkMVxZtkFwodnI6EA=
In-Reply-To: <srugnq$1fd8$1@gioia.aioe.org>
Content-Language: en-US
 by: Mike S - Tue, 18 Jan 2022 07:26 UTC

On 1/15/2022 5:03 AM, R.Wieser wrote:
> Steve,
>
>> Sometimes, especially on the XP machine, the USB connection drops in
>> the middle of a transfer, and then I need to run CHKDSK on the flash
>> drive, otherwise it slows down or might lose data.
>
> Thanks for the suggestion. Someone else mentioned that his stick heats up
> while writing and causes problems like I described. Maybe yours has the
> same problem ?
>
> After I posted my above question and not getting a "Thats a well-known
> problem" response I've done a number of tests. As it turns out the problem
> is that specific USB stick (see the further posts I made)
>
> As such I decided to effectivily bin it (I can still muck around with it,
> but it won't ever be used for storage again)
>
> Regards,
> Rudy Wieser

Might be interesting to open it up and add a heat sink and see what
happens.

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<ss68ie$cf2$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=329&group=comp.os.ms-windows.programmer.win32#329

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: Tue, 18 Jan 2022 12:33:28 +0100
Organization: Aioe.org NNTP Server
Lines: 14
Message-ID: <ss68ie$cf2$1@gioia.aioe.org>
References: <srme2e$1vrg$1@gioia.aioe.org> <nu65ug9afb8e8bap9mkj77t01huiitukdi@4ax.com> <srugnq$1fd8$1@gioia.aioe.org> <ss5q2q$qoj$1@dont-email.me>
Injection-Info: gioia.aioe.org; logging-data="12770"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MSMail-Priority: Normal
X-Priority: 3
X-Notice: Filtered by postfilter v. 0.9.2
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
 by: R.Wieser - Tue, 18 Jan 2022 11:33 UTC

Mike,

> Might be interesting to open it up and add a heat sink and see what
> happens.

I thought of that too. But after I stopped the copying, ejected it, left it
alone for an hour (letting it cool down), restarted the copy and than saw it
was directly going back into its one-file-each-six-seconds rithm I didn't
think that that would give me any more information.

Regards,
Rudy Wieser

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<j4o3mfFsvjvU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=330&group=comp.os.ms-windows.programmer.win32#330

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: void-invalid-dead-dontuse@email.invalid (Brian Gregory)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down
to a crawl. How to fix ?
Date: Tue, 18 Jan 2022 15:12:14 +0000
Lines: 31
Message-ID: <j4o3mfFsvjvU1@mid.individual.net>
References: <srme2e$1vrg$1@gioia.aioe.org> <srmibm$amv$1@dont-email.me>
<srmmug$60h$1@gioia.aioe.org> <j4hds9Fkde6U1@mid.individual.net>
<ss0n0a$1r3n$1@gioia.aioe.org> <ss1764$q4l$1@dont-email.me>
<ss1bb2$ask$1@gioia.aioe.org> <ss1jbu.hfc.1@ID-201911.user.individual.net>
<ss1i9j$1huk$1@gioia.aioe.org> <j4l3g5Fb5gmU1@mid.individual.net>
<ss44t7$886$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net T/voIcClpiheCrlT2y3O3AWTiD75POh7bzT3kyrf27GXY1N65t
Cancel-Lock: sha1:X9DVCF+qKYvtVVtvnn17VkJg4b4=
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-GB
In-Reply-To: <ss44t7$886$1@gioia.aioe.org>
 by: Brian Gregory - Tue, 18 Jan 2022 15:12 UTC

On 17/01/2022 16:17, R.Wieser wrote:
> Brian,
>
>> If you want it to work fast don't use NTFS. Use FAT or exFAT.
>
> I only reformatted to NTFS to check if the problem was perhaps files-system
> related. It doesn't seem to be.
>
>> It probably does change. But we're not needing an exact match to get a
>> speed benefit.
>
> Speed is one thing. Not needing reading-modify-write the same flash-block
> is another. And that will happen if the allocation size is not the same
> as, or a multiple of, the flash-block size.
>
>> Having a big block on the drive divided into many small allocation blocks
>> seems to be what can slow things down.
>
> :-) you or the stick needing to do multiple read-modify-write actions will
> /definitily/ slow the stick down more than a simple write action - even if
> you just divide the flash block in (an uneven) two.
>
> IOW, I do understand the mechanics behind it. Which is why I'm (still) a
> bit surprised you cannot ask the stick for its optimum allocation size ...
>

I think the flash used often has much larger pages than would make sense
as an allocation block size.

--
Brian Gregory (in England).

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<j4o3ukFt0vcU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=331&group=comp.os.ms-windows.programmer.win32#331

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!news.freedyn.de!speedkom.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: void-invalid-dead-dontuse@email.invalid (Brian Gregory)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down
to a crawl. How to fix ?
Date: Tue, 18 Jan 2022 15:16:36 +0000
Lines: 16
Message-ID: <j4o3ukFt0vcU1@mid.individual.net>
References: <srme2e$1vrg$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net jX74LzH43ab/IXMDbTdG7gdMjCj7Hcd/yXgyua4291k3Hw9WYJ
Cancel-Lock: sha1:Et0OBgYpsHOhxSBQzhMY8IeLPY0=
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-GB
In-Reply-To: <srme2e$1vrg$1@gioia.aioe.org>
 by: Brian Gregory - Tue, 18 Jan 2022 15:16 UTC

On 12/01/2022 11:28, R.Wieser wrote:
> Hello all,
>
> I've got a simple program using CopyFile (kernel32) on an XPsp3 machine to
> copy a number of files to a 8GByte, FAT32 formatted USB stick, and notice
> that the whole thing slows down to a crawl (about 5 GByte consisting of
> 50.000 files in over eight hours). I've also tried a another, different USB
> stick and see the same thing happen.

If you can try with XCOPY.
XCOPY is good at optimizing the writes to the directory.
I think it opens and creates all the files first, then copies the
contents one by one, and finally closes all the files.

--
Brian Gregory (in England).

Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

<ss6qpn$1ii9$2@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=332&group=comp.os.ms-windows.programmer.win32#332

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32 microsoft.public.windowsxp.general alt.windows7.general
Path: i2pn2.org!i2pn.org!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.windowsxp.general,alt.windows7.general
Subject: Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?
Date: Tue, 18 Jan 2022 17:42:08 +0100
Organization: Aioe.org NNTP Server
Lines: 13
Message-ID: <ss6qpn$1ii9$2@gioia.aioe.org>
References: <srme2e$1vrg$1@gioia.aioe.org> <srmibm$amv$1@dont-email.me> <srmmug$60h$1@gioia.aioe.org> <j4hds9Fkde6U1@mid.individual.net> <ss0n0a$1r3n$1@gioia.aioe.org> <ss1764$q4l$1@dont-email.me> <ss1bb2$ask$1@gioia.aioe.org> <ss1jbu.hfc.1@ID-201911.user.individual.net> <ss1i9j$1huk$1@gioia.aioe.org> <j4l3g5Fb5gmU1@mid.individual.net> <ss44t7$886$1@gioia.aioe.org> <j4o3mfFsvjvU1@mid.individual.net>
Injection-Info: gioia.aioe.org; logging-data="51785"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MSMail-Priority: Normal
X-RFC2646: Format=Flowed; Original
X-Priority: 3
X-Notice: Filtered by postfilter v. 0.9.2
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
 by: R.Wieser - Tue, 18 Jan 2022 16:42 UTC

Brian,

> I think the flash used often has much larger pages than would make sense
> as an allocation block size.

There is nothing much I can say to that, as its as unspecific as it comes
....

Regards,
Rudy Wieser


devel / comp.os.ms-windows.programmer.win32 / Re: Copying a number of files one-by-one onto an USB stick slows down to a crawl. How to fix ?

Pages:123
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor