Aplicacion Practica NIF B-2 Estado de Flujo de Efectivo (16 de Julio)

2011-07-09 Thread Corporativo Fiscal Decada SC
Politicas de Privacidad Si no puede ver esta informacisn haga click aqum

[IMAGE]

POLMTICAS DE CANCELACISN

[IMAGE]

Corporativo Fiscal Dicada, S.C. posee una rmgida polmtica contra el
SPAMming, por lo que respetamos su privacidad. Por favor, si usted no
desea recibir mas informacisn y comunicados sobre Corporativo Fiscal
Dicada, S.C. o considera que recibis por error este e-mail, le suplicamos
haga click aqum, escriba su nombre y lo daremos de baja inmediatamente de
nuestra base de datos.
EVENTOS COFIDE

PROGRAMACION JULIO 2011





JUEVES 07 DE JULIO

NUEVA PLATAFORMA  ELECTRSNICA DEL SAT DE PAGOS Y DECLARACIONES PARA OBLIGADOS A 
DICTAMINARSE

Duracisn:   5 hrs.

De: 09:00 A 14:00 hrs.

DESAYUNO DE 08:00 A 09:00 hrs.

Expositor:  C.P.C. Y E.F. GADIEL ARAGON PERALTA

Inversisn:  $1,450.00 mas IVA





VIERNES 08 DE JULIO

REFORMAS DE LA LEY DE AMPARO. AFECTACIONES FISCALES. DESAYUNO INFORMATIVO

Duracisn:   3 hrs.

De: 09:00 A 12:00 hrs.

INCLUYE DESAYUNO

Expositor:  LIC. RAFAEL RIVERA PRADO

Inversisn:  $890.00 mas IVA





VIERNES 08 DE JULIO

REGIMENES ESPECIALES DE LA LEY DEL IMSS (CONSTRUCTORAS)

Duracisn:   5 hrs.

De: 15:00 A 20:00 hrs.

COMIDA DE   14:00 A 15:00 hrs.

Expositor:  C.P.C.  GABRIELA COLOSIA CALDERSN

Inversisn:  $1,400.00 mas IVA





SABADO 09 DE JULIO

SIPRED 2010 Y ANEXO 21.

Duracisn:   5 Hrs.

De: 15:00 A 20:00 hrs.

COMIDA DE:  14:00 A 15:00 hrs.

Expositor:  C.P. ROBERTO GOMEZ LEDEZMA

Inversisn:  $1,500.00 mas IVA





SABADO 09 DE JULIO

NUEVA RESOLUCISN MISCELANEA 2011-2012

Duracisn:   6 hrs.

De: 09:00 a 15:00 hrs.

DESAYUNO DE 08:00 A 09:00 hrs.

Expositor:  C.P.C  Y E.F. LUIS GUILLERMO DELGADO PEDROZA

Inversisn:  $1,680.00 mas IVA





SABADO 09 DE JULIO

REGIMENES ESPECIALES DE LA LEY DEL IMSS (OUTSOURCING, ESCUELAS, TRANSPORTISTAS 
Y CAMPO)

Duracisn:   5 hrs.

De: 09:00 a 14:00 hrs.

DESAYUNO DE 08:00 A 09:00 hrs.

Expositor:  C.P.C. GABRIELA COLOSIA CALDERON

Inversisn:  $1,400.00 mas IVA





MIERCOLES 13 DE JULIO

CURSO TALLER DE HABILIDADES PARA VENTAS EFECTIVAS 

Duracisn:   8 Hrs.

De: 09:00 A 18:00 Hrs.

COMIDA DE:  14:00 A 15:00 Hrs.

Expositor:  LIC.  ENRIQUE TOSHIRO VAZQUEZ TSUJI

Inversisn:  $2,050.00 mas IVA 





JUEVES 14 DE JULIO

ANALISIS INTEGRAL DE ESTIMULOS Y BENEFICIOS FISCALES VIGENTES

Duracisn:   5 Hrs.

De: 15:00 A 20:00 Hrs.

COMIDA DE:  14:00 a 15:00 Hrs

Expositor:  C.P.C. Y E.F. GADIEL ARAGON PERALTA

Inversisn:  $1,400.00 mas IVA 





SABADO 16 DE JULIO

APLICACISN PRACTICA NIF B-2 ESTADO DE FLUJO DE EFECTIVO 

Duracisn:   5 Hrs. 

De: 09:00 A 14:00 Hrs.

DESAYUNO DE:08:00 a 09:00 Hrs

Expositor:  L.C.P. Y MTRO. JORGE ZZQIGA CARRASCO

Inversisn:  $1,400.00  mas IVA





MIERCOLES 20 DE JULIO

NUEVA RESOLUCISN MISCELANEA 2011-2012

Duracisn:   6 hrs.

De: 15:00 a 21:00 hrs.

COMIDA DE   14:00 A 15:00 hrs.

Expositor:  C.P.C  Y E.F. LUIS GUILLERMO DELGADO PEDROZA

Inversisn:  $1,680.00 mas IVA





JUEVES 21 DE JULIO

PAGOS AL EXTRANJERO Y APLICACISN DE TRATADOS INTERNACIONALES EN MATERIA FISCAL

Duracisn:   9 Hrs.

De: 09:00 A 19:00 Hrs.

COMIDA DE:  14:00 a 15:00 Hrs.

Expositor:  C.P.C. Y E.F. GADIEL ARAGON PERALTA

Inversisn:  $ 2,970.00 mas IVA





VIERNES 22 DE JULIO

FINANZAS PARA NO FINANCIEROS

Duracisn:   8 Hrs.

De: 09:00 A 18:00 Hrs.

COMIDA DE:  14:00 a 15:00 Hrs.

Expositor:  C.P.C. Y  MTRO. JORGE ZZQIGA CARRASCO

Inversisn:  $2,500.00 mas IVA 





VIERNES 22 DE JULIO

NUEVOS SISTEMAS AUTOMATIZADOS DE DEVOLUCIONES Y COMPENSACIONES 

Duracisn:   5 Hrs.

De: 09:00 A 14:00 Hrs.

DESAYUNO DE:08:00 A 09:00 Hrs.

Expositor:  C.P.C. Y E.F. GADIEL ARAGON PERALTA

Inversisn:  $1,680.00 mas IVA 





VIERNES 22, SABADO 23, VIERNES 29 Y SABADO 30 DE JULIO

DICTAMEN IMSS E INFONAVIT

Duracisn:   20  hrs.

Viernes 22 de:  15:00 A 20:00 Hrs.

Comida: 14:00 A 15:00 Hrs.

Sabado 23 de:   09:00 A 14:00 Hrs.

Desayuno:   08:00 A 09:00 Hrs.

Viernes 29 de:  15:00 A 20:00 Hrs.

Comida: 14:00 A 15:00 Hrs. 

Sabado 30 de:   09:00 A 14:00 Hrs.

Desayuno:   08:00 A 09:00 Hrs.

Expositor:  C.P.C. ARTURO HERNANDEZ LSPEZ

Inversisn:  $5,600.00 mas IVA





MIERCOLES 27 DE JULIO

REGIMEN FISCAL DE AUTOTRANSPORTE (INCLUYE RESOLUCISN DE FACILIDADES 2011)

Duracisn:   5 hrs.

De: 09:00 A 14:00 hrs.

DESAYUNO DE:08:00 A 09:00 hrs.

Expositor:  C.P.C. Y E.F. GADIEL ARAGON PERALTA

Inversisn:  $1,650.00 mas IVA





JUEVES 28 DE JULIO

NUEVA RESOLUCISN MISCELANEA 2011-2012 

Duracisn:   6 Hrs.

De: 09:00 A 15:00 Hrs.

DESAYUNO DE:08:00 a 09:00 Hrs.

Expositor:  C.P.C  Y E.F. LUIS GUILLERMO DELGADO PEDROZA


SMP machine, run a program on a single CPU?

2011-07-09 Thread Maurice Janssen

Hi,

Is it possible to somehow force a program to run on a single CPU in an 
SMP system?
The reason I ask that on some SMP-capable architectures, I'm having some 
problems with ntpd.  On hppa and sgi, the clock won't sync because ntpd 
sees replies with negative delay:


Jul  9 08:58:19 hppa ntpd[21406]: reply from 192.168.4.12: negative 
delay -0.854615s, next query 3120s


(reported as PR6592)

If I run the bsd.sp kernel, the negative delays are gone and ntpd syncs 
without any problem.  I was wondering if the problem would occur if I 
could limit ntpd to a single CPU.  Diving into the code is way beyond my 
skills, so I was hoping that there is a utility like nice to achieve this.


Thanks,
Maurice



Re: How to switch consoles with CTRL+ALT+Fn on powerbook G4?

2011-07-09 Thread Pekka Niiranen

On 7/9/11 2:33 AM, Kenneth R Westerback wrote:

On Sat, Jul 09, 2011 at 01:56:33AM +0300, Pekka Niiranen wrote:

Hi,

I managed to install OpenBSD 4.9 on Powerbook G4 17
and remap some keys (/etc/kbdtype contains sv)
in X with the following xmodmap settings:

keycode 49 = less greater leass greater bar brokenbar
keycode 94 = section degree section degree notsing notsign
keycode 35 = asciitilde asciicircum
keycode 64 = Mode_switch
keycode 16 = 7 slash bar
keycode 13 = 4 EuroSign
keycode 11 = 2 quotedbl at

How can I set all those keymappings above for the console too?


How about this one. I would need the pipe symbol and  at minimum.
Am I forced start X in order to get these?


How can I switch between consoles; none of the CTRL+ALT+Fn work in X
nor in console mode (before startx).

I have not found the proper wsconsctl -commands.

-pekka-



I don't believe macppc supports virtual consoles.

 Ken


Fine. Thank you.



Re: How to switch consoles with CTRL+ALT+Fn on powerbook G4?

2011-07-09 Thread Stuart Henderson
On 2011-07-09, Pekka Niiranen pekka.niira...@pp5.inet.fi wrote:
 On 7/9/11 2:33 AM, Kenneth R Westerback wrote:
 On Sat, Jul 09, 2011 at 01:56:33AM +0300, Pekka Niiranen wrote:
 Hi,

 I managed to install OpenBSD 4.9 on Powerbook G4 17
 and remap some keys (/etc/kbdtype contains sv)
 in X with the following xmodmap settings:

 keycode 49 = less greater leass greater bar brokenbar
 keycode 94 = section degree section degree notsing notsign
 keycode 35 = asciitilde asciicircum
 keycode 64 = Mode_switch
 keycode 16 = 7 slash bar
 keycode 13 = 4 EuroSign
 keycode 11 = 2 quotedbl at

 How can I set all those keymappings above for the console too?

 How about this one. I would need the pipe symbol and  at minimum.
 Am I forced start X in order to get these?

see wsconsctl(8).



Re: SMP machine, run a program on a single CPU?

2011-07-09 Thread Nick Holland
On 07/09/11 03:57, Maurice Janssen wrote:
 Hi,
 
 Is it possible to somehow force a program to run on a single CPU in an 
 SMP system?
 The reason I ask that on some SMP-capable architectures, I'm having some 
 problems with ntpd.  On hppa and sgi, the clock won't sync because ntpd 
 sees replies with negative delay:
 
 Jul  9 08:58:19 hppa ntpd[21406]: reply from 192.168.4.12: negative 
 delay -0.854615s, next query 3120s
 
 (reported as PR6592)
 
 If I run the bsd.sp kernel, the negative delays are gone and ntpd syncs 
 without any problem.  I was wondering if the problem would occur if I 
 could limit ntpd to a single CPU.  Diving into the code is way beyond my 
 skills, so I was hoping that there is a utility like nice to achieve this.
 
 Thanks,
 Maurice

Things aren't that simple.
Time is an illusion.  Lunch time, doubly so
(obligatory Hitchhiker's quote)
Time on computers is complicated, doubly so on a multiprocessor system.

ntpd isn't your problem, it's time on the SMP system.  Fiddling with
processor affinity (trying to attach particular tasks to particular
CPUs) wouldn't help if you could (and you can't).

Is time really drifting (consistently increasing error in one direction)
on these systems?  Or is it just jittering around proper time?  If it
is really drifting, you should probably put in a problem report on this.

Nick.



Re: How does OpenBSD compare to Ubuntu Server?

2011-07-09 Thread Nico Kadel-Garcia
On Thu, Jul 7, 2011 at 1:45 PM, Alexander Schrijver
alexander.schrij...@gmail.com wrote:
 For starters, there is 100% consensus among developers that we'll never
 use newfangled overengineered stuff like System V init.


 You mean Upstart!

 or wait

 You mean systemd!

Or the oddness that is daemontools!!



virtual crossover link with vether(4) patch integration?

2011-07-09 Thread csszep
Hi!

Is there any news about this patch integration?

http://marc.info/?l=openbsd-techm=129622196824469w=2

And i'm sorry to bother you...

thx
Csszep



KDE sftp: URLs in OpenBSD 4.9

2011-07-09 Thread Federico Giannici
Anybody can confirm that KDE sftp: URLs still work correctly under 
OpenBSD 4.9 (amd64)?


Since I upgraded from 4.8 to 4.9 all the sftp://; URLs of KDE no longer 
work for me. I always get the error Error encountered while talking to 
ssh.


I'd like to know if it's a common problem of 4.9 or is only in my 
installation...


Thanks.



Re: KDE sftp: URLs in OpenBSD 4.9

2011-07-09 Thread Alvaro Mantilla Gimenez
Hi,

   Same error here...

 Alvaro

On Sat July 9 2011 10:39:13 Federico Giannici wrote:
 Anybody can confirm that KDE sftp: URLs still work correctly under
 OpenBSD 4.9 (amd64)?

 Since I upgraded from 4.8 to 4.9 all the sftp://; URLs of KDE no longer
 work for me. I always get the error Error encountered while talking to
 ssh.

 I'd like to know if it's a common problem of 4.9 or is only in my
 installation...

 Thanks.



Re: KDE sftp: URLs in OpenBSD 4.9

2011-07-09 Thread Remco
Federico Giannici wrote:

 Anybody can confirm that KDE sftp: URLs still work correctly under
 OpenBSD 4.9 (amd64)?
 
 Since I upgraded from 4.8 to 4.9 all the sftp://; URLs of KDE no longer
 work for me. I always get the error Error encountered while talking to
 ssh.
 
I hardly ever use this, but I tried it and I can confirm the error.
So it doesn't work for me either on:
OpenBSD 4.9 (GENERIC.MP) #819: Wed Mar  2 06:57:49 MST 2011
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP



Botellitas shampoo conditioner etc impresas a todo color con su logotipo

2011-07-09 Thread AMENITIE SOLUTIONS
Un surtido de Botellitas desde 30 cc , 45 cc y 50 cc varios modelos 

Se las imprimimos a todo color en transparente , y los contenidos que le 
ofrecemos son:

SHAMPOO , SHAMPOO DUO , CONDITIONER Y GEL DE BANO 

CANTIDADES DE COMPRA SUPER ACCESIBLES . SOLICITE LISTA DE PRECIOS Y CATALOGO .

Amenitie Solutions 




si no desea recibir informacion favor de responder con asunto REMOVER



Re: KDE sftp: URLs in OpenBSD 4.9

2011-07-09 Thread Antti Harri
On Saturday 09 July 2011 19:39:13 Federico Giannici wrote:
 Anybody can confirm that KDE sftp: URLs still work correctly under
 OpenBSD 4.9 (amd64)?

 Since I upgraded from 4.8 to 4.9 all the sftp://; URLs of KDE no longer
 work for me. I always get the error Error encountered while talking to
 ssh.

 I'd like to know if it's a common problem of 4.9 or is only in my
 installation...

 Thanks.

Yes they seem to be broken. It is on my list of things to do but I don't
have time currently and I have other ports I'm going to sort out first.

I have debuged this a little but so far I haven't found out a fix. I attached
a log session.

You could try fish:// protocol, it might work for you as a workaround. It
didn't work for me because it doesn't do everything that sftp:// does (public
keys IIRC). You can also use filezilla from ports that supports sftp:// urls.

-- 
Antti Harri

kio_sftp: ERROR: KSshProcess::version(): pclose failed.
kio_sftp: *** Starting kio_sftp 
kio_sftp: KSshProcess::KSshProcess(): ssh path [/usr/bin/ssh]
kio_sftp: sftpProtocol(): pid = 13452
kio_sftp: setHost(): @kameli.openbsd.fi:0
kio_sftp: closeConnection()
kio_sftp: KSshProcess::kill(signal:9): ssh pid is -1
kio_sftp: KSshPRocess::kill(): we are not connected
kio_sftp: KSshProcess::kill(): we are not running a ssh process
kio_sftp: KSshProcess::kill(): Refusing to kill ssh process
kio_sftp: stat(): sftp://kameli.openbsd.fi/
kio_sftp: openConnection(): i...@kameli.openbsd.fi:22
kio_sftp: KSshProcess::setOptions()
kio_sftp: arg: -p
kio_sftp: arg: 22
kio_sftp: arg: -o
kio_sftp: arg: ForwardX11=no
kio_sftp: arg: -o
kio_sftp: arg: ForwardAgent=no
kio_sftp: arg: -e
kio_sftp: arg: none
kio_sftp: arg: -l
kio_sftp: arg: iku
kio_sftp: arg: -v
kio_sftp: arg: kameli.openbsd.fi
kio_sftp: arg: -s
kio_sftp: arg: sftp
kio_sftp: KSshProcess::version(): got version string [OpenSSH_5.8, OpenSSL 
1.0.0a 1 Jun 2010
kio_sftp: ]
kio_sftp: KSshPRocess::version(): version number = 0
kio_sftp: KSshProcess::connect(): Connect state STATE_START
kio_sftp: MyPtyProcess::exec(): /usr/bin/ssh
kio_sftp: KSshPRocess::connect(): ssh pid = 6060
kio_sftp: KSshProcess::connect(): Connect state STATE_WAIT_PROMPT
kio_sftp: -p
kio_sftp: 22
kio_sftp: -o
kio_sftp: ForwardX11=no
kio_sftp: -o
kio_sftp: ForwardAgent=no
kio_sftp: -e
kio_sftp: none
kio_sftp: -l
kio_sftp: iku
kio_sftp: -v
kio_sftp: kameli.openbsd.fi
kio_sftp: -s
kio_sftp: sftp
kio_sftp: KSshProcess::getLine(): ssh: 
kio_sftp: KSshProcess::connect(): Got null line in STATE_WAIT_PROMPT.
kio_sftp: KSshProcess::connect(): Connect state STATE_FATAL
kio_sftp: KSshProcess::kill(signal:9): ssh pid is 6060
kio_sftp: KSshPRocess::kill(): we are not connected
kio_sftp: KSshProcess::kill(): we are running a ssh process
kio_sftp: openConnection(): Got 2 from KSshProcess::connect()
kio_sftp: closeConnection()
kio_sftp: KSshProcess::kill(signal:9): ssh pid is 6060
kio_sftp: KSshPRocess::kill(): we are not connected
kio_sftp: KSshProcess::kill(): we are not running a ssh process
kio_sftp: KSshProcess::kill(): Refusing to kill ssh process
kio_sftp: closeConnection()
kio_sftp: KSshProcess::kill(signal:9): ssh pid is 6060
kio_sftp: KSshPRocess::kill(): we are not connected
kio_sftp: KSshProcess::kill(): we are not running a ssh process
kio_sftp: KSshProcess::kill(): Refusing to kill ssh process
kio_sftp: slave_status(): connected to kameli.openbsd.fi? false
kio_sftp: *** kio_sftp Done
kio_sftp: ~sftpProtocol(): pid = 13452
kio_sftp: closeConnection()
kio_sftp: KSshProcess::kill(signal:9): ssh pid is 6060
kio_sftp: KSshPRocess::kill(): we are not connected
kio_sftp: KSshProcess::kill(): we are not running a ssh process
kio_sftp: KSshProcess::kill(): Refusing to kill ssh process
kio_sftp: KSshProcess::kill(signal:9): ssh pid is 6060
kio_sftp: KSshPRocess::kill(): we are not connected
kio_sftp: KSshProcess::kill(): we are not running a ssh process
kio_sftp: KSshProcess::kill(): Refusing to kill ssh process
kio_sftp: *** Starting kio_sftp 
kio_sftp: KSshProcess::KSshProcess(): ssh path [/usr/bin/ssh]
kio_sftp: sftpProtocol(): pid = 28664
kio_sftp: setHost(): @kameli.openbsd.fi:0
kio_sftp: closeConnection()
kio_sftp: KSshProcess::kill(signal:9): ssh pid is -1
kio_sftp: KSshPRocess::kill(): we are not connected
kio_sftp: KSshProcess::kill(): we are not running a ssh process
kio_sftp: KSshProcess::kill(): Refusing to kill ssh process
kio_sftp: stat(): sftp://kameli.openbsd.fi/
kio_sftp: openConnection(): i...@kameli.openbsd.fi:22
kio_sftp: KSshProcess::setOptions()
kio_sftp: arg: -p
kio_sftp: arg: 22
kio_sftp: arg: -o
kio_sftp: arg: ForwardX11=no
kio_sftp: arg: -o
kio_sftp: arg: ForwardAgent=no
kio_sftp: arg: -e
kio_sftp: arg: none
kio_sftp: arg: -l
kio_sftp: arg: iku
kio_sftp: arg: -v
kio_sftp: arg: kameli.openbsd.fi
kio_sftp: arg: -s
kio_sftp: arg: sftp
kio_sftp: KSshProcess::version(): got version string [OpenSSH_5.8, OpenSSL 
1.0.0a 1 Jun 2010
kio_sftp: ]
kio_sftp: KSshPRocess::version(): version number = 0
kio_sftp: 

Re: How to switch consoles with CTRL+ALT+Fn on powerbook G4?

2011-07-09 Thread Pekka Niiranen

On 7/9/11 12:46 PM, Stuart Henderson wrote:

On 2011-07-09, Pekka Niiranenpekka.niira...@pp5.inet.fi  wrote:

On 7/9/11 2:33 AM, Kenneth R Westerback wrote:

On Sat, Jul 09, 2011 at 01:56:33AM +0300, Pekka Niiranen wrote:

Hi,

I managed to install OpenBSD 4.9 on Powerbook G4 17
and remap some keys (/etc/kbdtype contains sv)
in X with the following xmodmap settings:

keycode 49 = less greater leass greater bar brokenbar
keycode 94 = section degree section degree notsing notsign
keycode 35 = asciitilde asciicircum
keycode 64 = Mode_switch
keycode 16 = 7 slash bar
keycode 13 = 4 EuroSign
keycode 11 = 2 quotedbl at

How can I set all those keymappings above for the console too?


How about this one. I would need the pipe symbol and  at minimum.
Am I forced start X in order to get these?


see wsconsctl(8).


That does not help, because I cannot findout what keycode
ALT -button emits. I would need program similar to xev
for the console (showkey in linux).

When I press ALT+Y I do get message yank something first,
for what that is worth.



Re: How does OpenBSD compare to Ubuntu Server?

2011-07-09 Thread Paul Suh
On Jul 9, 2011, at 11:34 AM, Nico Kadel-Garcia wrote:

 On Thu, Jul 7, 2011 at 1:45 PM, Alexander Schrijver
 alexander.schrij...@gmail.com wrote:
 For starters, there is 100% consensus among developers that we'll never
 use newfangled overengineered stuff like System V init.
 
 
 You mean Upstart!
 
 or wait
 
 You mean systemd!
 
 Or the oddness that is daemontools!!
 

Hey, wait for me -- launchd from the Mac! :-)

[demime 1.01d removed an attachment of type application/pkcs7-signature which 
had a name of smime.p7s]



Re: isakmpd and INVALID_COOKIE

2011-07-09 Thread Paul Suh
Hmm.. sounds like this might be a candidate for -STABLE?


--Paul


On Jul 8, 2011, at 10:09 AM, Stuart Henderson wrote:

 On 2011-07-08, Tony Sarendal t...@polarcap.org wrote:
 If you're running isakmpd from 4.8 or 4.9 with IKE you want to pull
 up src/sbin/isakmpd/dh.c to r1.14 otherwise you will certainly
 see problems from time to time.
 
 
 Is this a cosmetic thing or does it affect connectivity ?
 
 dh.c r1.14 affects stability. Between 4.7 and 4.8 isakmpd switched
 from internal to openssl DH; an openssl function wasn't padding with
 leading 0's where it was expected that they would, so there was junk
 at the end of the key, causing key mismatches.

[demime 1.01d removed an attachment of type application/pkcs7-signature which 
had a name of smime.p7s]



Re: SMP machine, run a program on a single CPU?

2011-07-09 Thread Maurice Janssen
On Sat, Jul 09, 2011 at 07:52:58AM -0400, Nick Holland wrote:
On 07/09/11 03:57, Maurice Janssen wrote:
 Hi,
 
 Is it possible to somehow force a program to run on a single CPU in an 
 SMP system?
 The reason I ask that on some SMP-capable architectures, I'm having some 
 problems with ntpd.  On hppa and sgi, the clock won't sync because ntpd 
 sees replies with negative delay:
 
 Jul  9 08:58:19 hppa ntpd[21406]: reply from 192.168.4.12: negative 
 delay -0.854615s, next query 3120s
 
 (reported as PR6592)
 
 If I run the bsd.sp kernel, the negative delays are gone and ntpd syncs 
 without any problem.  I was wondering if the problem would occur if I 
 could limit ntpd to a single CPU.  Diving into the code is way beyond my 
 skills, so I was hoping that there is a utility like nice to achieve this.
 
 Thanks,
 Maurice

Things aren't that simple.
Time is an illusion.  Lunch time, doubly so
(obligatory Hitchhiker's quote)
Time on computers is complicated, doubly so on a multiprocessor system.

ntpd isn't your problem, it's time on the SMP system.  Fiddling with
processor affinity (trying to attach particular tasks to particular
CPUs) wouldn't help if you could (and you can't).

OK, thanks for making that clear.

Is time really drifting (consistently increasing error in one direction)
on these systems?  Or is it just jittering around proper time?

The hppa was about 10 seconds behind proper time since boot (the machine
is not powered on anymore).  The delay was quite stable.

The sgi was close to proper time (within one second) and finally synced
the clocked after about 4 hours.  But the 'negative delay' lines keep
appearing in /var/log/daemon:

Jul  9 07:10:40 sgi ntpd[25403]: ntp engine ready
Jul  9 07:11:47 sgi ntpd[7566]: set local clock to Sat Jul  9 07:11:47 CEST 
2011 (offset 66.702436s)
Jul  9 07:11:53 sgi ntpd[25403]: reply from 192.168.4.10: negative delay 
-0.422241s, next query 3298s
Jul  9 07:11:55 sgi ntpd[25403]: reply from 192.168.4.12: negative delay 
-0.420484s, next query 3071s
Jul  9 08:03:06 sgi ntpd[25403]: 0 out of 2 peers valid
Jul  9 08:03:06 sgi ntpd[25403]: bad peer ntp.z74.net (192.168.4.10)
Jul  9 08:03:06 sgi ntpd[25403]: bad peer ntp2.z74.net (192.168.4.12)
Jul  9 08:03:06 sgi ntpd[25403]: reply from 192.168.4.12: negative delay 
-0.419880s, next query 3052s
Jul  9 08:07:02 sgi ntpd[25403]: reply from 192.168.4.10: negative delay 
-0.422318s, next query 3238s
Jul  9 08:53:58 sgi ntpd[25403]: reply from 192.168.4.12: negative delay 
-0.419919s, next query 3083s
Jul  9 09:00:59 sgi ntpd[25403]: peer 192.168.4.10 now valid
Jul  9 09:01:22 sgi ntpd[25403]: reply from 192.168.4.10: negative delay 
-0.422266s, next query 3053s
Jul  9 09:45:21 sgi ntpd[25403]: reply from 192.168.4.12: negative delay 
-0.420109s, next query 3036s
Jul  9 09:52:46 sgi ntpd[27014]: adjusting local clock by -0.370742s
Jul  9 09:53:17 sgi ntpd[25403]: reply from 192.168.4.10: negative delay 
-0.415123s, next query 3068s
Jul  9 10:36:11 sgi ntpd[25403]: peer 192.168.4.12 now valid
Jul  9 10:38:47 sgi ntpd[25403]: reply from 192.168.4.12: negative delay 
-0.420481s, next query 3214s
Jul  9 10:44:24 sgi ntpd[25403]: reply from 192.168.4.10: negative delay 
-0.422004s, next query 3188s
Jul  9 11:32:21 sgi ntpd[25403]: reply from 192.168.4.12: negative delay 
-0.420039s, next query 3204s
Jul  9 11:38:39 sgi ntpd[27014]: adjusting local clock by 0.099333s
Jul  9 11:38:38 sgi ntpd[25403]: clock is now synced
Jul  9 11:39:09 sgi ntpd[25403]: reply from 192.168.4.10: negative delay 
-0.422172s, next query 3257s
Jul  9 12:25:45 sgi ntpd[25403]: reply from 192.168.4.12: negative delay 
-0.419923s, next query 3077s

and this keeps on going.

If it
is really drifting, you should probably put in a problem report on this.

I got an email from Joel Sing, he's going to take a closer look.

Thanks,
Maurice



Re: SMP machine, run a program on a single CPU?

2011-07-09 Thread Artur Grabowski
On Sat, Jul 9, 2011 at 9:11 PM, Maurice Janssen maur...@z74.net wrote:
 On Sat, Jul 09, 2011 at 07:52:58AM -0400, Nick Holland wrote:
On 07/09/11 03:57, Maurice Janssen wrote:
 Hi,

 Is it possible to somehow force a program to run on a single CPU in an
 SMP system?
 The reason I ask that on some SMP-capable architectures, I'm having some
 problems with ntpd.  On hppa and sgi, the clock won't sync because ntpd
 sees replies with negative delay:

 Jul  9 08:58:19 hppa ntpd[21406]: reply from 192.168.4.12: negative
 delay -0.854615s, next query 3120s

 (reported as PR6592)

 If I run the bsd.sp kernel, the negative delays are gone and ntpd syncs
 without any problem.  I was wondering if the problem would occur if I
 could limit ntpd to a single CPU.  Diving into the code is way beyond my
 skills, so I was hoping that there is a utility like nice to achieve
this.

 Thanks,
 Maurice

Things aren't that simple.
Time is an illusion.  Lunch time, doubly so
(obligatory Hitchhiker's quote)
Time on computers is complicated, doubly so on a multiprocessor system.

ntpd isn't your problem, it's time on the SMP system.  Fiddling with
processor affinity (trying to attach particular tasks to particular
CPUs) wouldn't help if you could (and you can't).

 OK, thanks for making that clear.

Is time really drifting (consistently increasing error in one direction)
on these systems?  Or is it just jittering around proper time?

 The hppa was about 10 seconds behind proper time since boot (the machine
 is not powered on anymore).  The delay was quite stable.

 The sgi was close to proper time (within one second) and finally synced
 the clocked after about 4 hours.  But the 'negative delay' lines keep
 appearing in /var/log/daemon:

 Jul  9 07:10:40 sgi ntpd[25403]: ntp engine ready
 Jul  9 07:11:47 sgi ntpd[7566]: set local clock to Sat Jul  9 07:11:47 CEST
2011 (offset 66.702436s)
 Jul  9 07:11:53 sgi ntpd[25403]: reply from 192.168.4.10: negative delay
-0.422241s, next query 3298s

This sounds like the timekeeping code isn't synchronizing between
cpus. I don't know how those architectures are getting their time, but
it sounds like different cpus have slightly out of sync counters or
even frequencies.

This is the reason why we don't use instruction counters to measure
time on i386 and amd64.

//art