Re: Dell R930 server
On Sun, Nov 6, 2016 at 6:11 PM, STeve Andre'wrote: > On 11/06/16 20:35, Philip Guenther wrote: >> >> On Sun, Nov 6, 2016 at 4:42 PM, Friedrich Locke >> wrote: >> ... >>> >>> Does OBSD "see" all the 96*128G memory available ? >> >> >> We only allocate a single PML4 slot for the direct map on amd64, so >> it's currently limited to seeing 2^39 == 512GB. >> >> To expand that, the size and base-slot/address of the direct map >> really need to be made variable, based on the number of physical >> address bits supported by the CPU (as found by CPUID), preferably then >> clamped by the range of the actual memory installed, and then set up >> in locore.S and pmap.c > > Thanks for the explanation of the memory limit. I'm not needing a > system with more than 512G yet, but how much of a project would it > be to dynamically expand to whatever? Meh, not large. Simply doubling the space supported to 1TB would be an easy first step and -- given someone with a machine to test it -- should work out any kinks in the use of the direct map. 40 physical bits in the professed default for long mode, so it's really what the default should be. Doing the second step to full dynamic would then be about getting the ASM right when values are not longer constant. Philip Guenther
Re: Dell R930 server
On 11/06/16 20:35, Philip Guenther wrote: On Sun, Nov 6, 2016 at 4:42 PM, Friedrich Lockewrote: ... Does OBSD "see" all the 96*128G memory available ? We only allocate a single PML4 slot for the direct map on amd64, so it's currently limited to seeing 2^39 == 512GB. To expand that, the size and base-slot/address of the direct map really need to be made variable, based on the number of physical address bits supported by the CPU (as found by CPUID), preferably then clamped by the range of the actual memory installed, and then set up in locore.S and pmap.c Philip Guenther Thanks for the explanation of the memory limit. I'm not needing a system with more than 512G yet, but how much of a project would it be to dynamically expand to whatever? --STeve Andre'
Re: Dell R930 server
On Sun, Nov 6, 2016 at 4:42 PM, Friedrich Lockewrote: ... > Does OBSD "see" all the 96*128G memory available ? We only allocate a single PML4 slot for the direct map on amd64, so it's currently limited to seeing 2^39 == 512GB. To expand that, the size and base-slot/address of the direct map really need to be made variable, based on the number of physical address bits supported by the CPU (as found by CPUID), preferably then clamped by the range of the actual memory installed, and then set up in locore.S and pmap.c Philip Guenther
Dell R930 server
Does anybody here run openbsd on this machine ? Does OBSD "see" all the 96*128G memory available ? Thanks in advance.
Re: Simple example for httpd fastcgi
-Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Markus Rosjat Sent: 06 November 2016 13:56 To: misc@openbsd.org Subject: Re: Simple example for httpd fastcgi Hi mark, I saw that befor and did the steps for python like there and I can thest my script by chroot but I cant really figure what to do in the httpd config to get my script called when I surf it to it over the browser. regards Markus Am 05.11.2016 um 21:16 schrieb Mark Willson: > On 05/11/2016, 20:10, "Markus Rosjat"ros...@ghweb.de> wrote: > >> Hi there, >> Is there some how-to or examples out there to get a clue how to configure >> httpd to run python scripts ? >> Regards >> Markus >> Von meinem Samsung GerÀt gesendet. > > Markus, > > This might help … > > http://hydrus.org.uk/journal/openbsd-httpd.html > > > -mark > Markus, Here's what the key portion of the httpd.conf file contains: # A name-based "virtual" server server "chrome.hydrus.org.uk" { alias "chrome" listen on * port 80 root "/hydrus/data" log access "hydrus-access.log" log error "hydrus-error.log" location "/cgi-bin/*" { fastcgi root "/hydrus/data" } } Hope that helps. -mark
Re: Simple example for httpd fastcgi
Hi mark, I saw that befor and did the steps for python like there and I can thest my script by chroot but I cant really figure what to do in the httpd config to get my script called when I surf it to it over the browser. regards Markus Am 05.11.2016 um 21:16 schrieb Mark Willson: On 05/11/2016, 20:10, "Markus Rosjat"wrote: Hi there, Is there some how-to or examples out there to get a clue how to configure httpd to run python scripts ? Regards Markus Von meinem Samsung GerÀt gesendet. Markus, This might help … http://hydrus.org.uk/journal/openbsd-httpd.html -mark -- Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de G+H Webservice GbR Gorzolla, Herrmann Königsbrücker Str. 70, 01099 Dresden http://www.ghweb.de fon: +49 351 8107220 fax: +49 351 8107227 Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before you print it, think about your responsibility and commitment to the ENVIRONMENT