Re: I installed openSUSE Leap

Liste des GroupesRevenir à col advocacy 
Sujet : Re: I installed openSUSE Leap
De : OFeem1987 (at) *nospam* teleworm.us (Chris Ahlstrom)
Groupes : comp.os.linux.advocacy
Date : 21. Oct 2024, 12:01:35
Autres entêtes
Organisation : None
Message-ID : <vf5cb2$t9to$9@dont-email.me>
References : 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
User-Agent : slrn/1.0.3 (Linux)
Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

On Sun, 20 Oct 2024 11:41:10 -0400, DFS wrote:
>
On 10/19/2024 9:46 PM, Lawrence D'Oliveiro wrote:
On Sat, 19 Oct 2024 21:07:23 -0400, DFS wrote:
On Sat, 19 Oct 2024 21:07:23 -0400, DFS wrote:
>
temp_txt folder containing 100K text files deleted in about 10 seconds
>
     ldo@theon:hack> mkdir test
     ldo@theon:hack> cd test
     ldo@theon:test> time for i in $(seq 1 99998); do fn=$(printf %0.5d.png $i); touch $fn; done
>
     real    3m9.451s
     user    1m56.907s
     sys     1m18.000s
>
     ldo@theon:test> cd ..
     ldo@theon:hack> time rm -rf test
>
     real    0m0.817s
     user    0m0.060s
     sys     0m0.757s
>
Any questions?
 
If you insist: why is bash so slow?
>
That’s an easy one to answer. Do you want me to try it again?
>
On my Win11 AMD 5600G machine, to create and delete 100K files:
>
WSL Ubuntu bash: 141.2s create,  1.4s delete, 142.6 total (your script)
PowerShell     :  21.2s create, 10.5s delete,  31.7 total Python + cmd 
:  16.6s create,  6.7s delete,  23.3 total
 
ouch!
>
Going through the Windows filesystem bottleneck, naturally. Try it on
a genuine Linux system, not on WSL2.

Now that I'm dual booting, I get a subjective view of speed on Windows 11 vs
Linux that confirms my impression of the slow Windows on my work laptop.

The things I put up with for software development!

--
Illiterate?  Write today, for free help!

Date Sujet#  Auteur
19 Oct 24 * Re: I installed openSUSE Leap18Lawrence D'Oliveiro
19 Oct 24 `* Re: I installed openSUSE Leap17DFS
19 Oct 24  +* Re: I installed openSUSE Leap12Lawrence D'Oliveiro
20 Oct 24  i`* Re: I installed openSUSE Leap11DFS
20 Oct 24  i `* Re: I installed openSUSE Leap10Lawrence D'Oliveiro
20 Oct 24  i  `* Re: I installed openSUSE Leap9DFS
21 Oct 24  i   `* Re: I installed openSUSE Leap8Lawrence D'Oliveiro
21 Oct 24  i    +- Re: I installed openSUSE Leap1Chris Ahlstrom
24 Oct 24  i    `* Re: I installed openSUSE Leap6DFS
25 Oct 24  i     +- Re: I installed openSUSE Leap1Lawrence D'Oliveiro
25 Oct 24  i     +* Re: I installed openSUSE Leap2DFS
25 Oct 24  i     i`- Re: I installed openSUSE Leap1DFS
25 Oct 24  i     `* Re: I installed openSUSE Leap2rbowman
26 Oct 24  i      `- Re: I installed openSUSE Leap1Lawrence D'Oliveiro
21 Oct 24  `* Re: I installed openSUSE Leap4candycanearter07
21 Oct 24   `* Re: I installed openSUSE Leap3candycanearter07
21 Oct 24    `* Re: I installed openSUSE Leap2Chris Ahlstrom
22 Oct 24     `- Re: I installed openSUSE Leap1Chris Ahlstrom

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal