Re: [gentoo-user] Performance: WD vs. Samung SSD vs. M.2 SSD
On 12/01/2020 08:41 PM, bobwxc wrote: >> -- 原始邮件 -- >> 发 件 人:the...@sys-concept.com >> 发送时间:2020-12-02 05:46:56 >> 收 件 人:"Gentoo mailing list" >> 抄 送: >> 主 题:[gentoo-user] Performance: WD vs. Samung SSD vs. M.2 SSD >> >> Nothing scientific, but I was surprised how fast M.2 disk is, so decided to >> time how fast GnuCash will load my accounting, here it is: >> >> Box 1.) >> WD (spinning disk) CPU AMD-8150 (8-core), 16GiB >> Time to open GnuCash - 23sec. >> >> Box 2.) >> Samsung SSD 850, CPU AMD Ryzen 5 1400 Quad-Core, 16GiB >> Time to open GnuCash - 15sec. >> >> Box 3.) >> M.2 SSD, CPU AMD Ryzen 7, 32Gib >> Time to open GnuCash - 2.5sec > SATA Revision 3.0 -- 6Gbps > NVMe -- PCI-E3.0*4 -- 7.877 Gbps*4 > > > > > NVMe is much faster than AHCI This is nvme Force MP600 (SSD Interface. PCIe Gen 4.0 x4) SSD Max Sequential Read CDM. Up to 4,950MB/s. SSD Max Sequential Write CDM. Up to 4,250MB/s. Vs. Samsung SSD 850 evo sequential write speeds up to 520 MB/s sequential read speeds up to 540 MB/s
Re: [gentoo-user] Performance: WD vs. Samung SSD vs. M.2 SSD
> -- 原始邮件 -- > 发 件 人:the...@sys-concept.com > 发送时间:2020-12-02 05:46:56 > 收 件 人:"Gentoo mailing list" > 抄 送: > 主 题:[gentoo-user] Performance: WD vs. Samung SSD vs. M.2 SSD > > Nothing scientific, but I was surprised how fast M.2 disk so decided to > time how fast GnuCash will load my accounting, her it is: > > Box 1.) > WD (spinning disk) CPU AMD-8150 (8-core), 16GiB > Time to open GnuCash - 23sec. > > Box 2.) > Samsung SSD 850, CPU AMD Ryzen 5 1400 Quad-Core, 16GiB > Time to open GnuCash - 15sec. > > Box 3.) > M.2 SSD, CPU AMD Ryzen 7, 32Gib > Time to open GnuCash - 2.5sec > > -- > Thelma > > SATA Revision 3.0 -- 6Gbps NVMe -- PCI-E3.0*4 -- 7.877 Gbps*4 NVMe is much faster than AHCI bobwxc == -BEGIN PGP PUBLIC KEY BLOCK- mDMEX0aJURYJKwYBBAHaRw8BAQdASLmtsBXRo9ZbNOKisvEuvK8pTGNcsNgFsLU5 fcuEnd20G3ctY2hyb21lYm9vayAody1jaHJvbWVib29rKYiWBBMWCAA+FiEEeUf5 B4zw9YQZtU5OABzGqG8YykcFAl9GiVECGwMFCQlmAYAFCwkIBwIGFQoJCAsCBBYC AwECHgECF4AACgkQABzGqG8YykfF7QEAtdrAplwKcMnSBuxSQPRAQ+RvVaXt8sUc lVhtNSPukBABALWtY4J6deiihXG5o1zijsF85fucNiDTVLveIfSs+HYKuDgEX0aJ URIKKwYBBAGXVQEFAQEHQMcsqz2UMo1KjOi/dlismg6RUdf/mM5YcnqTR7PDGI59 AwEIB4h+BBgWCAAmFiEEeUf5B4zw9YQZtU5OABzGqG8YykcFAl9GiVECGwwFCQlm AYAACgkQABzGqG8YykcjqAD9Ffss3s6H/xiKdQ7IlcNlFNNKbTZjimxKOcVRO6eA r98A/0cWQxd4i7LWDHRu5ixbG0qT3WXipq+t22RpOqLM0IYO =TyBA -END PGP PUBLIC KEY BLOCK-
Re: [gentoo-user] apache 2.4 - deny access to directory
On Tuesday, 1 December 2020 19:34:54 GMT the...@sys-concept.com wrote: > On 12/01/2020 07:18 AM, Michael wrote: > > On Monday, 30 November 2020 22:52:05 GMT the...@sys-concept.com wrote: > >> Access based on IP address works from .htaccess with Files directive: > >> > >> > >> > >>Require ip 10.0.0.109 > >> > >> > >> > >> But it doesn't read AuthType Basic, it doesn't ask me for any password. > >> > >> AuthName "restricted stuff" > >> AuthType Basic > >> AuthUserFile "/etc/apache2/users" > >> require user webmaster > >> > >> It seems to me Apache 2.4 is very limited what can, and can not go into > >> .htaccess. > > > > OK, probably Authentication takes precedence from Authorization on apache > > 2.4. > > > > Since you prefer to use .htaccess rather than a central apache config, > > let's check if this works in your /admin/.htaccess: > > > > === > > AuthName "restricted stuff" > > AuthType Basic > > AuthUserFile "/etc/apache2/users" > > > > > >Require ip 10.0.0.100 > >Require user webmaster > > > > > > == > > > > It should allow you to connect and then request username and passwd from > > IP > > 10.0.0.100, but return '403 Forbidden' for clients connecting from any > > other IP address, without requesting authentication. > > WOW! it worked, it worked! > Thank you Michael! > IP works and AuthType Basic works too. > > Why? It seems to me Apache 2.4 is very picky where/and order directives > are. So much more to learn. For basic operation I prefer .htaccess > files, it is much simpler and easier to block spammers, no need to > restart the main server, just update .htaccess file. > > Thank you again! You're welcome. I'm glad you got it going. There were a number of changes with apache 2.4. Have a look down this page for the specifics: https://httpd.apache.org/docs/trunk/upgrading.html signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Performance: WD vs. Samung SSD vs. M.2 SSD
Typo: it should be: Nothing scientific, but I was surprised how fast the M.2 disk is, so I decided to test how fast GnuCash loads my accounting; here it is: On 12/01/2020 02:46 PM, the...@sys-concept.com wrote: > Nothing scientific, but I was surprised how fast M.2 disk so decided to > time how fast GnuCash will load my accounting, her it is: > > Box 1.) > WD (spinning disk) CPU AMD-8150 (8-core), 16GiB > Time to open GnuCash - 23sec. > > Box 2.) > Samsung SSD 850, CPU AMD Ryzen 5 1400 Quad-Core, 16GiB > Time to open GnuCash - 15sec. > > Box 3.) > M.2 SSD, CPU AMD Ryzen 7, 32Gib > Time to open GnuCash - 2.5sec >
[gentoo-user] Performance: WD vs. Samung SSD vs. M.2 SSD
Nothing scientific, but I was surprised how fast M.2 disk so decided to time how fast GnuCash will load my accounting, her it is: Box 1.) WD (spinning disk) CPU AMD-8150 (8-core), 16GiB Time to open GnuCash - 23sec. Box 2.) Samsung SSD 850, CPU AMD Ryzen 5 1400 Quad-Core, 16GiB Time to open GnuCash - 15sec. Box 3.) M.2 SSD, CPU AMD Ryzen 7, 32Gib Time to open GnuCash - 2.5sec -- Thelma
Re: [gentoo-user] Brother printer HL-5370
On 12/01/2020 12:27 AM, k...@aspodata.se wrote: > That printer supports BR-Script (PostScript lvl3 language emulation). > Why not just use postscript. > > Regards, > /Karl Hammar How do you use it / install it on HL-5370? When I was installing via "rpm" driver for another printer HL-3170CDW I got a warning: lpadmin -p HL3170CDW -E -v usb://dev/usb/lp0 -P /usr/share/cups/model/Brother/brother_hl3170cdw_printer_en.ppd lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
Re: [gentoo-user] apache 2.4 - deny access to directory
On 12/01/2020 07:18 AM, Michael wrote: > On Monday, 30 November 2020 22:52:05 GMT the...@sys-concept.com wrote: > >> Access based on IP address works from .htaccess with Files directive: >> >> >>Require ip 10.0.0.109 >> >> >> But it doesn't read AuthType Basic, it doesn't ask me for any password. >> >> AuthName "restricted stuff" >> AuthType Basic >> AuthUserFile "/etc/apache2/users" >> require user webmaster >> >> It seems to me Apache 2.4 is very limited what can, and can not go into >> .htaccess. > > OK, probably Authentication takes precedence from Authorization on apache 2.4. > > Since you prefer to use .htaccess rather than a central apache config, let's > check if this works in your /admin/.htaccess: > > === > AuthName "restricted stuff" > AuthType Basic > AuthUserFile "/etc/apache2/users" > >Require ip 10.0.0.100 >Require user webmaster > > == > > It should allow you to connect and then request username and passwd from IP > 10.0.0.100, but return '403 Forbidden' for clients connecting from any other > IP address, without requesting authentication. WOW! it worked, it worked! Thank you Michael! IP works and AuthType Basic works too. Why? It seems to me Apache 2.4 is very picky where/and order directives are. So much more to learn. For basic operation I prefer .htaccess files, it is much simpler and easier to block spammers, no need to restart the main server, just update .htaccess file. Thank you again!
Re: [gentoo-user] VirtualBox
On 12/01/2020 08:52 AM, Matt Connell (Gmail) wrote: > You need to set the qt5 use flag in order to build the front-end UI for > it. > > On Tue, 2020-12-01 at 08:40 -0700, the...@sys-concept.com wrote: >> I've emerged virtualbox but it doesn't appear in Application menu. Thanks folks, yes it worked. It has been a while since I did any upgrade/installation :-/
Re: [gentoo-user] VirtualBox
On Tue, 2020-12-01 at 17:22 +, Peter Humphrey wrote: > ...and you need your user to be in the vboxusers group. Thanks, good point. Also, apologies for top posting, previously. Work emails giving me bad habits.
Re: [gentoo-user] VirtualBox
On Tuesday, 1 December 2020 15:52:09 GMT Matt Connell (Gmail) wrote: > You need to set the qt5 use flag in order to build the front-end UI for > it. > > On Tue, 2020-12-01 at 08:40 -0700, the...@sys-concept.com wrote: > > I've emerged virtualbox but it doesn't appear in Application menu. ...and you need your user to be in the vboxusers group. -- Regards, Peter.
Re: [gentoo-user] VirtualBox
You need to set the qt5 use flag in order to build the front-end UI for it. On Tue, 2020-12-01 at 08:40 -0700, the...@sys-concept.com wrote: > I've emerged virtualbox but it doesn't appear in Application menu.
[gentoo-user] VirtualBox
I've emerged virtualbox but it doesn't appear in Application menu. In addition I've noticed that virtualbox-bin was removed -- Thelma
Re: [gentoo-user] apache 2.4 - deny access to directory
On Monday, 30 November 2020 22:52:05 GMT the...@sys-concept.com wrote: > Access based on IP address works from .htaccess with Files directive: > > >Require ip 10.0.0.109 > > > But it doesn't read AuthType Basic, it doesn't ask me for any password. > > AuthName "restricted stuff" > AuthType Basic > AuthUserFile "/etc/apache2/users" > require user webmaster > > It seems to me Apache 2.4 is very limited what can, and can not go into > .htaccess. OK, probably Authentication takes precedence from Authorization on apache 2.4. Since you prefer to use .htaccess rather than a central apache config, let's check if this works in your /admin/.htaccess: === AuthName "restricted stuff" AuthType Basic AuthUserFile "/etc/apache2/users" Require ip 10.0.0.100 Require user webmaster == It should allow you to connect and then request username and passwd from IP 10.0.0.100, but return '403 Forbidden' for clients connecting from any other IP address, without requesting authentication. signature.asc Description: This is a digitally signed message part.