Re: [ubuntu-uk] regarding for solution[Scanned]

2007-05-16 Thread Mark Harrison
Paul Brunt wrote:
> Hi,
>
> I'm not 100% sure but this would make sense as the first answer to me:
> the machine with 990 ticks should be experiencing time at
> (990/1000) of real time
> the machine with 1015 ticks should be experiencing time at
> (1015/1000) of real time
> The length of time it would take the two systems to go out of sync be 
> 5 seconds would be:
> (1015/1000)a - (990/1000)a = 5
> where "a" is the time needed between syncs
> so answer is 200 seconds
>
> Sorry, but the I've not really got time to work out the second one 
> right now. I'll try and get back to it at some point if someone hasn't 
> beaten me to it ;-)
>
> Thanks
>
> Paul

Paul,

I was in the middle of typing mine when yours came in, so as far as I'm 
concerned, you've won, particularly given we came up with the same 
answer  :-)

However, I'll claim the prize for part 2 :-)

M.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] regarding for solution[Scanned]

2007-05-16 Thread Paul Brunt

Hi,

I'm not 100% sure but this would make sense as the first answer to me:
the machine with 990 ticks should be experiencing time at
(990/1000) of real time
the machine with 1015 ticks should be experiencing time at
(1015/1000) of real time
The length of time it would take the two systems to go out of sync be 5 
seconds would be:

(1015/1000)a - (990/1000)a = 5
where "a" is the time needed between syncs
so answer is 200 seconds

Sorry, but the I've not really got time to work out the second one right 
now. I'll try and get back to it at some point if someone hasn't beaten 
me to it ;-)


Thanks

Paul


fatma oymak wrote:

Dear all,

I have one problemI couldnt find right answer...do you have any idea? 
please please let me know


many thanks
fatma


"Consider the behaviour of two machines in a distributed system. 
Both have clocks that are supposed to tick 1000 times per millisecond. One 
of them ticks 990 times per millisecond. The other ticks 1015  times per 
millisecond. If the system designer want to guarantee that clocks of these 
two machines never differ by more than 5 seconds, how often must be clocks 
be re-synchronized? Supposing that all machines in this distributed systems 
come from same manufacturer and the maximum drift rate is specified as 1.0%, 
how often must the clocks of this system must be re-synchonized  if the 
system designers want to guarantee that clocks of these two machines never 
differ by more than 5 seconds? Describe in steps how you get your 
result..."


_
Txt a lot? Get Messenger FREE on your mobile. 
https://livemessenger.mobile.uk.msn.com/



  



--

Paul Brunt
Web Developer

[EMAIL PROTECTED] 
DDI +44 (0) 1279 719584

Stortford Hall Industrial Park
Dunmow Road, Bishops Stortford,
Hertfordshire, CM23 5GZ

United Kingdom

www.armourhe.co.uk

Tel +44 (0) 1279 50
Fax +44 (0) 1279 501080

This message (including any attachments) is confidential and may be 
privileged. It is intended solely for the use of the individual or 
entity to whom they are addressed. If you are not the intended 
recipient, please e-mail the sender immediately by replying to this 
message and delete the material from any computer. Armour Home 
Electronics Ltd shall not be liable for the improper or incomplete 
transmission of the information contained in this communication nor for 
any delay in its receipt or damage to your system. Armour Home 
Electronics Ltd does not guarantee that the integrity of this 
communication has been maintained nor that this communication is free of 
viruses, interceptions or interference. This message is attributed to 
the sender and may not necessarily reflect the view of Armour Home 
Electronics Ltd.


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/