Re: [OpenIndiana-discuss] SSD as a dedicated swap device

2015-12-11 Thread Reginald Beardsley via openindiana-discuss
My long standing rule is swap = 8 x core. This is primarily to accommodate having a large number of PDFs and other processes open at the same time. Many MCU manuals run 1000+ pages. But sometimes I just want to run a ridiculously large problem. Disk space is cheap, so there's no benefit to sa

Re: [OpenIndiana-discuss] SSD as a dedicated swap device

2015-12-11 Thread Reginald Beardsley via openindiana-discuss
Jake, I had not considered creating a ZFS vdev on the SSD, but that's an excellent point. Thanks. I think I'll do some tests with an HDD and an SSD with various configurations. Ian, If swap equal core what's the benefit? I've never considered swapping as "virtual memory", Just part of ti

Re: [OpenIndiana-discuss] SSD as a dedicated swap device

2015-12-11 Thread David Brodbeck
Oh, and additionally, swap can serve as a useful safety valve if memory gets fragmented and the kernel has to allocate a large, contiguous page for some kind of DMA buffer or the like. I don't know if that's a common scenario on OI, but I've seen it happen on Linux. -- D. Brodbeck System Adminis

Re: [OpenIndiana-discuss] SSD as a dedicated swap device

2015-12-11 Thread David Brodbeck
On Fri, Dec 11, 2015 at 3:20 PM, Jacob Ritorto wrote: > If the swap partition ends up being on ZFS, it'll garner the additional > benefit of being able to be periodically scrubbed to check for degradation > of the SSD (these only accommodate a finite number of write cycles, but > most modern ones

Re: [OpenIndiana-discuss] SSD as a dedicated swap device

2015-12-11 Thread Jacob Ritorto
I've used swap plain partitions on zfs-rooted machines as well as multi-disk zfs swap, both to good effect. Even if secondary storage (SSD) can never be as fast as primary (RAM), it'll should allow the job to proceed when the batch process peaks its memory utilisation. Since it's batch processing

Re: [OpenIndiana-discuss] SSD as a dedicated swap device

2015-12-11 Thread Ian Collins
Reginald Beardsley via openindiana-discuss wrote: > Having been a witness to the conflicts over adding virtual memory to > Minix I find it ironic that the accepted practice now is to include > virtual memory in the OS, but not use it. For a long time everyone > used BSD because it had virtual m

Re: [OpenIndiana-discuss] SSD as a dedicated swap device

2015-12-11 Thread Reginald Beardsley via openindiana-discuss
Gee guys, I would have thought from my comment about interleaving swap on two disks in 4.x that it would be obvious that I understand it would be slower. And in fact, know quite a bit about virtual memory implementations. At the time, I tested interleaving 2 & 3 drives. The improvement with

Re: [OpenIndiana-discuss] SSD as a dedicated swap device

2015-12-11 Thread Jim Klimov
11 декабря 2015 г. 20:45:34 CET, Reginald Beardsley via openindiana-discuss пишет: >I have only occasional need to run problems larger than main memory (16 >GB at present), so I can't justify replacing all the DRAM for an >infrequent need. The drop in SSD prices has me contemplating adding a >1

Re: [OpenIndiana-discuss] SSD as a dedicated swap device

2015-12-11 Thread Ian Collins
Andrew Gabriel wrote: On 11/12/2015 20:45, Ian Collins wrote:. I don't think you can add the drive as a drive, but you could create a pool with a single volume on on it and add that volume with "swap -a /dev/zvol/dsk//. Adding a swap partition or slice from a drive worked just fine last time I

Re: [OpenIndiana-discuss] SSD as a dedicated swap device

2015-12-11 Thread Andrew Gabriel
On 11/12/2015 20:45, Ian Collins wrote: Reginald Beardsley via openindiana-discuss wrote: I have only occasional need to run problems larger than main memory > (16 GB at present), so I can't justify replacing all the DRAM for an > infrequent need. The drop in SSD prices has me contemplating ad

Re: [OpenIndiana-discuss] OI roadmap (for production)

2015-12-11 Thread Rich Teer
On Sat, 12 Dec 2015, Ian Collins wrote: > There is only one of you writing, but many reading. That's why decent > threading and quoting is important on technical lists! This conversation reminds me of this old chestnut: A: Because it messes up the order in which people normally read text. Q: W

Re: [OpenIndiana-discuss] OI roadmap (for production)

2015-12-11 Thread Ian Collins
Stefan Müller-Wilken wrote: Sorry, Nicola, but is _this_ the kind of problems that should be > discussed in the OI community? I would have thought there are more > serious subjects to ponder... There is only one of you writing, but many reading. That's why decent threading and quoting is im

Re: [OpenIndiana-discuss] SSD as a dedicated swap device

2015-12-11 Thread Ian Collins
Reginald Beardsley via openindiana-discuss wrote: I have only occasional need to run problems larger than main memory > (16 GB at present), so I can't justify replacing all the DRAM for an > infrequent need. The drop in SSD prices has me contemplating adding > a 128 GB SSD as a swap device. The

[OpenIndiana-discuss] SSD as a dedicated swap device

2015-12-11 Thread Reginald Beardsley via openindiana-discuss
I have only occasional need to run problems larger than main memory (16 GB at present), so I can't justify replacing all the DRAM for an infrequent need. The drop in SSD prices has me contemplating adding a 128 GB SSD as a swap device. The SSD latency and IOPS specs look as if they might be a

Re: [OpenIndiana-discuss] PAM risk based authentication?

2015-12-11 Thread James Carlson
On 12/11/15 4:08 AM, Stefan Müller-Wilken wrote: Well, also an approach, but restricted to SSH only. My requirement is to conditionally include PAM modules, so tuning httpd will not suffice, I'm afraid. But thanks for the idea! I don't think the PAM stack itself can be conditional, but the mo

Re: [OpenIndiana-discuss] PAM risk based authentication?

2015-12-11 Thread Stefan Müller-Wilken
Well, also an approach, but restricted to SSH only. My requirement is to conditionally include PAM modules, so tuning httpd will not suffice, I'm afraid. But thanks for the idea! Cheers Stefan Von: Hugh McIntyre [li...@mcintyreweb.com] Gesendet: Freita

Re: [OpenIndiana-discuss] PAM risk based authentication?

2015-12-11 Thread Hugh McIntyre
I have not tried this, but if this is only for SSH, did you try "Match" directives as listed under http://serverfault.com/questions/355484/change-the-ssh-authentication-method-depending-on-the-ip-address? Hugh. On 12/10/15 5:40 AM, Stefan Müller-Wilken wrote: Dear all, is there a way in O