Re: Determening the number of clients per KDC

2018-04-17 Thread Andrew Cobaugh
On Tue, Apr 17, 2018 at 9:32 AM, Sergei Gerasenko wrote: > Thank you so much for confirming that the KDCs are fast. This saved me a > ton of time writing my own tests, etc. Andrew, as far as workers, is it one > worker per core in general as Russ theorized? > I haven't played with the workers op

Re: Determening the number of clients per KDC

2018-04-17 Thread Sergei Gerasenko
> On Apr 17, 2018, at 5:20 PM, Russ Allbery wrote: > > Mark Pröhl writes: >> On 04/16/2018 05:51 PM, Russ Allbery wrote: > >>> ... Clients aren't going to generally all try to get a ticket at the >>> same time, due to ticket caching, so that scales to a lot of clients. > >> I have only seen J

Re: Determening the number of clients per KDC

2018-04-17 Thread Russ Allbery
Mark Pröhl writes: > On 04/16/2018 05:51 PM, Russ Allbery wrote: >> ... Clients aren't going to generally all try to get a ticket at the >> same time, due to ticket caching, so that scales to a lot of clients. > I have only seen JAVA/JAAS clients caching the TGT and not the service > tickets. Es

Re: Determening the number of clients per KDC

2018-04-17 Thread Sergei Gerasenko
Thank you so much for confirming that the KDCs are fast. This saved me a ton of time writing my own tests, etc. Andrew, as far as workers, is it one worker per core in general as Russ theorized? Otherwise, I think I’m all set for now. Thanks!! > On Apr 16, 2018, at 8:41 PM, Russ Allbery wrote

Re: Determening the number of clients per KDC

2018-04-17 Thread Mark Pröhl
On 04/16/2018 05:51 PM, Russ Allbery wrote: > ... Clients > aren't going to generally all try to get a ticket at the same time, due to > ticket caching, so that scales to a lot of clients. > I have only seen JAVA/JAAS clients caching the TGT and not the service tickets. Especially in Hadoop envi

Re: Determening the number of clients per KDC

2018-04-16 Thread Russ Allbery
Andrew Cobaugh writes: > Also currently using it to demonstrate how much faster MIT Kerberos is > compared to AD, even when not using workers (on modern-ish CPUs, without > workers enabled krb5kdc can do ~4000 rps. I can share more details if > folks are interested). Ah, good, I'm glad my 100 qp

Re: Determening the number of clients per KDC

2018-04-16 Thread Andrew Cobaugh
On Mon, Apr 16, 2018 at 5:41 PM, Russ Allbery wrote: > Sergei Gerasenko writes: > > > Will keeping an access log slow me down much, do you know? > > Yes, you may want to tune syslog or whatever you're using for your KDC > logging, although MIT is a lot better than Heimdal in that regard (Heimdal

Re: Determening the number of clients per KDC

2018-04-16 Thread Russ Allbery
Sergei Gerasenko writes: > Will keeping an access log slow me down much, do you know? Yes, you may want to tune syslog or whatever you're using for your KDC logging, although MIT is a lot better than Heimdal in that regard (Heimdal is very verbose). I generally disabled sync to disk on the sysl

Re: Determening the number of clients per KDC

2018-04-16 Thread Sergei Gerasenko
> Oh, no problem -- just be aware that they're being answered by someone who > hasn't run large-scale KDCs in about four years, so some of my information > is stale. :) Still very valuable since I haven’t been able to find answers to any of these questions elsewhere. > If you're doing default K

Re: Determening the number of clients per KDC

2018-04-16 Thread Russ Allbery
Sergei Gerasenko writes: > Since I don’t know too much about the KDC architecture, sorry for the > dilettante questions. Oh, no problem -- just be aware that they're being answered by someone who hasn't run large-scale KDCs in about four years, so some of my information is stale. :) >> It's un

Re: Determening the number of clients per KDC

2018-04-16 Thread Sergei Gerasenko
Hi Russ, Since I don’t know too much about the KDC architecture, sorry for the dilettante questions. > It's unfortunately been long enough since I've tested this on a system > running flat out that I don't remember what qps a KDC can do on modern > hardware, but I would expect it to at least be

Re: Determening the number of clients per KDC

2018-04-16 Thread Russ Allbery
Sergei Gerasenko writes: > Thanks for the quick response, Russ. Let’s say I run 1 worker > process. How many clients can that sustain in the worst case scenario of > all the clients trying to get a ticket? I need some way to quantify > this. As for failover, I am planning to deploy a standby node

Re: Determening the number of clients per KDC

2018-04-15 Thread Sergei Gerasenko
Thanks for the quick response, Russ. Let’s say I run 1 worker process. How many clients can that sustain in the worst case scenario of all the clients trying to get a ticket? I need some way to quantify this. As for failover, I am planning to deploy a standby node. > On Apr 15, 2018, at 11:13 P

Re: Determening the number of clients per KDC

2018-04-15 Thread Russ Allbery
Sergei Gerasenko writes: > I’m planning an MIT KDC installation for a hadoop cluster consisting of > X clients with Y kerberized services each. The KDCs are rather powerful > machines with 64 cores and 125G of RAM. I want to get the most out of > this hardware and use the mininum number of KDCs r