Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <20240530104009.00005a6f@yahoo.com>
Deutsch   English   Français   Italiano  
<20240530104009.00005a6f@yahoo.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!npeer.as286.net!npeer-ng0.as286.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Michael S <already5chosen@yahoo.com>
Newsgroups: comp.lang.c
Subject: Re: xxd -i vs DIY Was: C23 thoughts and opinions
Date: Thu, 30 May 2024 10:40:09 +0300
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <20240530104009.00005a6f@yahoo.com>
References: <v2l828$18v7f$1@dont-email.me>
	<00297443-2fee-48d4-81a0-9ff6ae6481e4@gmail.com>
	<v2lji1$1bbcp$1@dont-email.me>
	<87msoh5uh6.fsf@nosuchdomain.example.com>
	<f08d2c9f-5c2e-495d-b0bd-3f71bd301432@gmail.com>
	<v2nbp4$1o9h6$1@dont-email.me>
	<v2ng4n$1p3o2$1@dont-email.me>
	<87y18047jk.fsf@nosuchdomain.example.com>
	<87msoe1xxo.fsf@nosuchdomain.example.com>
	<v2sh19$2rle2$2@dont-email.me>
	<87ikz11osy.fsf@nosuchdomain.example.com>
	<v2v59g$3cr0f$1@dont-email.me>
	<20240528144118.00002012@yahoo.com>
	<v34odg$kh7a$1@dont-email.me>
	<20240528185624.00002494@yahoo.com>
	<v359f1$nknu$1@dont-email.me>
	<20240528232315.00006a58@yahoo.com>
	<v35kkl$pis1$1@dont-email.me>
	<20240529012456.000003ce@yahoo.com>
	<v38vv9$1huh8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 30 May 2024 09:39:59 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="da80087394b39f0dc93ab771f1b9ace1";
	logging-data="1686436"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18P9ko+KhTlLTb2hSfqks3u3LkMW0J3Tfg="
Cancel-Lock: sha1:JPu7E4T+JsdHF0Vlm1NyjEONGhk=
X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
Bytes: 3656

On Thu, 30 May 2024 00:40:07 -0400
Paul <nospam@needed.invalid> wrote:

> On 5/28/2024 6:24 PM, Michael S wrote:
> > On Tue, 28 May 2024 23:08:22 +0100
> > bart <bc@freeuk.com> wrote:
> >   
> >> On 28/05/2024 21:23, Michael S wrote:  
> >>> On Tue, 28 May 2024 19:57:38 +0100
> >>> bart <bc@freeuk.com> wrote:
> >>>     
> >>  
> >>>> OK, I had go with your program. I used a random data file of
> >>>> exactly 100M bytes.
> >>>>
> >>>> Runtimes varied from 4.1 to 5 seconds depending on compiler. The
> >>>> fastest time was with gcc -O3.    
> >>  
> >>>
> >>> It sounds like your mass storage device is much slower than aging
> >>> SSD on my test machine and ALOT slower than SSD of David Brown.
> >>>  
> >>
> >>
> >> My machine uses an SSD.  
> > 
> > SSDs are not created equal. Especially for writes.
> >   
> >>
> >> However the tests were run on Windows, so I ran your program again
> >> under WSL; now it took 14 seconds (using both gcc-O3 and gcc-O2).
> >>
> >>  
> > 
> > 3 times slower ?!
> > I never tested it myself, but I heard that there is a significant
> > difference in file access speed between WSL's own file system  and
> > mounted Windows directories. The difference under WSL is not as big
> > as under WSL2 where they say that access of mounted Windows
> > filesystem is very slow, but still significant.
> > I don't know if it applies to all file sizes or only to accessing
> > many small files.  
> 
> WSL uses containers, <snip>

It seems, you are discussing a speed of access and methods of access
from the host side. My question is opposite - is access from Linux
guest to Windows host files running at the same speed as Linux (WSL,
not WSL2) guest to its own file system?
I heard that it isn't, but it was not conclusive and with insufficient
details. I am going to test our specific case of big files. Now.