Re: webalizer replacement?

2016-02-26 Thread Dennis Jacobfeuerborn
On 24.02.2016 15:25, Alex wrote: > Hi, > > I have a fedora23 system with a few web sites, and would like to > generate some stats on them. What are people using for this these > days? > > I'd like to find total hits, bandwidth used, geolocation info, etc. > > I used to use webalizer, but it appe

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread John Morris
On Fri, 2016-02-26 at 12:06 -0600, Ranjan Maitra wrote: > Thank you! So, is there any way that these other processes can be > separated out in the time calculations? I can not come up with > definitive statements unless I can do these comparisons in a fair > manner. Not really. The days of pur

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread jd1008
On 02/26/2016 06:00 PM, Ranjan Maitra wrote: Indeed, I wanted to measure the total execution time of the algorithms (i.e. difference in CPU time after and before the function executing the algorithm is called) and independent of extraneous issues such as what other process is running at some ti

Re: Virtual consoles (was desktops) on F23 server edition

2016-02-26 Thread CLOSE Dave
Rick Stevens wrote: >> So my vconsoles are properly configured and work correctly outside of X. >> While X is running, if I press CTRL-ALT-F2, for example, the F2 vconsole >> does not start and the X display remains. However, X is stuck; keyboard >> or mouse input does not work. Remote access via

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread jd1008
On 02/26/2016 05:41 PM, Patrick O'Callaghan wrote: On Fri, 2016-02-26 at 17:31 -0700, jd1008 wrote: On 02/26/2016 05:28 PM, Ranjan Maitra wrote: Thanks again! OK, is there a way to calculate the FLOP instructions in C? What do you mean "calculate the FLOP instructions"? Are you trying to e

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread Ranjan Maitra
> > > Indeed, I wanted to measure the total execution time of the > > > algorithms (i.e. difference in CPU time after and before the > > > function executing the algorithm is called) and independent of > > > extraneous issues such as what other process is running at some > > > time, etc. I wanted t

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread Patrick O'Callaghan
On Fri, 2016-02-26 at 17:31 -0700, jd1008 wrote: > > On 02/26/2016 05:28 PM, Ranjan Maitra wrote: > > > > Thanks again! > > > > > > > > > > > > > OK, is there a way to calculate the FLOP instructions in C? > > > What do you mean "calculate the FLOP instructions"? Are you > > > trying to > > >

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread Ranjan Maitra
> >> > >> __ > > Hi Ranjan, > > you have to use virtual timers instead of hard clock timers. > > > > Usually since you just want process time, then you start the itimer > > at the very start of the process, and give it some very long time to > > expire (say as long as max time). The just before cal

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread jd1008
On 02/26/2016 05:28 PM, Ranjan Maitra wrote: Thanks again! OK, is there a way to calculate the FLOP instructions in C? What do you mean "calculate the FLOP instructions"? Are you trying to evaluate an algorithm or benchmark an implementation? These are two different things. You can compare a

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread Ranjan Maitra
Thanks again! > > OK, is there a way to calculate the FLOP instructions in C? > > What do you mean "calculate the FLOP instructions"? Are you trying to > evaluate an algorithm or benchmark an implementation? These are two > different things. You can compare algorithms theoretically or by > measur

Re: Openvpn Configuration/Access Issue

2016-02-26 Thread Ed Greshko
On 02/27/16 07:34, Stephen Morris wrote: > On 26/02/16 19:36, Ed Greshko wrote: >> >> On 02/26/16 15:58, Stephen Morris wrote: >>> On 26/02/16 08:42, Rick Stevens wrote: On 02/25/2016 01:35 PM, Stephen Morris wrote: > Hi, > > I am trying to my vpn service provider using ins

Re: Openvpn Configuration/Access Issue

2016-02-26 Thread Stephen Morris
On 26/02/16 19:36, Ed Greshko wrote: On 02/26/16 15:58, Stephen Morris wrote: On 26/02/16 08:42, Rick Stevens wrote: On 02/25/2016 01:35 PM, Stephen Morris wrote: Hi, I am trying to my vpn service provider using instructions they provide for Ubuntu Mint as the only information they pro

Re: Virtual consoles (was desktops) on F23 server edition

2016-02-26 Thread Rick Stevens
On 02/26/2016 02:47 PM, CLOSE Dave wrote: Rick Stevens wrote: tty2-6 will not be started unless you try to use them (e.g. the getty on tty2 will only start if you use ALT-F2 from a console screen or CTRL-ALT-F2 from the desktop). Once they're started, however, they continue to run. I fully un

Re: Virtual consoles (was desktops) on F23 server edition

2016-02-26 Thread CLOSE Dave
Rick Stevens wrote: > tty2-6 will not be started unless you try to use them (e.g. the getty > on tty2 will only start if you use ALT-F2 from a console screen or > CTRL-ALT-F2 from the desktop). Once they're started, however, they > continue to run. I fully understand this. I now believe the probl

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread Patrick O'Callaghan
On Fri, 2016-02-26 at 12:40 -0600, Ranjan Maitra wrote: > > I don't claim to be an expert but at first glance I wonder if > you've > > defined what you mean by efficiency. Execution time? Program size? > > Memory locality (affects virtual memory performance) etc. > > I responded to this on another

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread Jon LaBadie
On Fri, Feb 26, 2016 at 08:31:07AM -0600, Ranjan Maitra wrote: > Hi, > > Disclaimer: This is clearly marked OT, with the only connection to this group > being the fact that I am running F23 on a 20-core Dell T5810 @3.1 GHz each > and 64 GiB memory. My OT queries over the past 13 years (almost) h

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread jd1008
On 02/26/2016 11:28 AM, jd1008 wrote: On 02/26/2016 11:06 AM, Ranjan Maitra wrote: On Fri, 26 Feb 2016 12:44:10 -0500 Tom Horsley wrote: On Fri, 26 Feb 2016 09:51:24 -0600 Ranjan Maitra wrote: How does this happen? The number of operations are exactly the same (or should be). The numb

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread Ranjan Maitra
On Fri, 26 Feb 2016 17:29:58 + "Patrick O'Callaghan" wrote: > On Fri, 2016-02-26 at 08:31 -0600, Ranjan Maitra wrote: > > Hi, > > > > Disclaimer: This is clearly marked OT, with the only connection to > > this group being the fact that I am running F23 on a 20-core Dell > > T5810 @3.1 GHz e

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread jd1008
On 02/26/2016 11:06 AM, Ranjan Maitra wrote: On Fri, 26 Feb 2016 12:44:10 -0500 Tom Horsley wrote: On Fri, 26 Feb 2016 09:51:24 -0600 Ranjan Maitra wrote: How does this happen? The number of operations are exactly the same (or should be). The number of operations in your program are the

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread Ranjan Maitra
On Fri, 26 Feb 2016 11:02:41 -0700 jd1008 wrote: > > > On 02/26/2016 10:44 AM, Tom Horsley wrote: > > On Fri, 26 Feb 2016 09:51:24 -0600 > > Ranjan Maitra wrote: > > > >> How does this happen? The number of operations are exactly the same (or > >> should be). > > The number of operations in yo

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread Ranjan Maitra
On Fri, 26 Feb 2016 12:44:10 -0500 Tom Horsley wrote: > On Fri, 26 Feb 2016 09:51:24 -0600 > Ranjan Maitra wrote: > > > How does this happen? The number of operations are exactly the same (or > > should be). > > The number of operations in your program are the same, but > your program is runni

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread jd1008
On 02/26/2016 10:44 AM, Tom Horsley wrote: On Fri, 26 Feb 2016 09:51:24 -0600 Ranjan Maitra wrote: How does this happen? The number of operations are exactly the same (or should be). The number of operations in your program are the same, but your program is running on the same machine as th

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread Tom Horsley
On Fri, 26 Feb 2016 09:51:24 -0600 Ranjan Maitra wrote: > How does this happen? The number of operations are exactly the same (or > should be). The number of operations in your program are the same, but your program is running on the same machine as the linux OS which has deamons running in the

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread Patrick O'Callaghan
On Fri, 2016-02-26 at 08:31 -0600, Ranjan Maitra wrote: > Hi, > > Disclaimer: This is clearly marked OT, with the only connection to > this group being the fact that I am running F23 on a 20-core Dell > T5810 @3.1 GHz each and 64 GiB memory. My OT queries over the past 13 > years (almost) here hav

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread Ranjan Maitra
Thanks! On Fri, 26 Feb 2016 10:16:18 -0500 Tom Horsley wrote: > On Fri, 26 Feb 2016 08:31:07 -0600 > Ranjan Maitra wrote: > > > I have been using get_rusage but I was wondering whether there is a better > > way? > > You most accurate wall time is going to come from looking at > the TSC regist

Re: OT: recommended way of timing two pieces of code in C

2016-02-26 Thread Tom Horsley
On Fri, 26 Feb 2016 08:31:07 -0600 Ranjan Maitra wrote: > I have been using get_rusage but I was wondering whether there is a better > way? You most accurate wall time is going to come from looking at the TSC register (if you are on an x86 processor) https://en.wikipedia.org/wiki/Time_Stamp_Cou

OT: recommended way of timing two pieces of code in C

2016-02-26 Thread Ranjan Maitra
Hi, Disclaimer: This is clearly marked OT, with the only connection to this group being the fact that I am running F23 on a 20-core Dell T5810 @3.1 GHz each and 64 GiB memory. My OT queries over the past 13 years (almost) here have elicited great wealth of information so I am posing here. So,

Re: Openvpn Configuration/Access Issue

2016-02-26 Thread Ed Greshko
On 02/26/16 15:58, Stephen Morris wrote: > On 26/02/16 08:42, Rick Stevens wrote: >> On 02/25/2016 01:35 PM, Stephen Morris wrote: >>> Hi, >>> >>> I am trying to my vpn service provider using instructions they >>> provide for Ubuntu Mint as the only information they provide for Linux. >>> Wh