r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Syllable] The free desktop and server operating system family

Graham
15-Sep-2008
[1595]
What's the difference?
Kaj
15-Sep-2008
[1596x2]
Size
If I just add RebelBB and Dovecot to the stripped version I was going 
to work on anyway
Graham
15-Sep-2008
[1598]
ok
Kaj
15-Sep-2008
[1599]
I hear that Syllable Desktop can run for a week on VMware without 
loosing time, so I don't know what the problem with Fedora is
Graham
15-Sep-2008
[1600]
http://www.djax.co.uk/kb/linux/vmware_clock_drift.html
Kaj
15-Sep-2008
[1601x2]
Another fine mess
We'll have to see how serious the problem is, and if we can correct 
it by using NTP on the Syllable guest
Graham
15-Sep-2008
[1603]
my experience is that minutes are lost over one hour
Kaj
15-Sep-2008
[1604x2]
Nasty
We could run an R/S tunnel that sets the guest clock every minute 
from the host clock :-)
Graham
15-Sep-2008
[1606]
I was doing that
Kaj
15-Sep-2008
[1607]
Oh, cool. Didn't it work?
Graham
15-Sep-2008
[1608]
Yes, but it was just too many dependencies
Kaj
15-Sep-2008
[1609x2]
But you still have the code?
Were you running a desktop on the guest machine?
Graham
15-Sep-2008
[1611]
no
Kaj
15-Sep-2008
[1612x2]
Hm. A Syllable colleague says loosing time is basically through a 
heavily loaded machine
It should be much less of an issue on an optimised appliance
Graham
15-Sep-2008
[1614]
hardly heavily loaded .. just rebol and dovecot
Kaj
15-Sep-2008
[1615x4]
Odd. We'll see how it turns out
It's a software clock once running, so these things are usually due 
to badly behaved programs disabling interrupts for short whiles
So the less you have on your system, the less that can disturb it
How much is running on the host system?
Graham
15-Sep-2008
[1619]
A few vms
Kaj
15-Sep-2008
[1620x2]
That could also be it
Do you have time problems on all VMs?
Graham
15-Sep-2008
[1622x3]
no
Just the linux ones which don't have vmware tools installed
Looks like I'm only currerntly just running Windows 2003 server
Kaj
15-Sep-2008
[1625]
Only W2003 in another VM?
Graham
15-Sep-2008
[1626]
yes
Kaj
15-Sep-2008
[1627]
A lot on it?
Graham
15-Sep-2008
[1628x2]
just a few rebol servers
using windows 2003 as I need odbc
Kaj
15-Sep-2008
[1630]
Odd
Graham
15-Sep-2008
[1631]
#!/sbin/rebol  -qw
Rebol [
 file: %update.r

 purpose: {Update the system clock based upon the nist.gov time server}
 author: {Graham Chiu}
 date: 15-Apr-2007
]

get-nist-correction: func [/local nist-time cpu-time mjd hms] [
 nist-time: read daytime://time-a.nist.gov
 cpu-time: now

 parse/all nist-time [skip copy mjd 5 skip 2 thru " " copy hms 8 skip]
 nist-time: 17/Nov/1858 + to integer! mjd
 nist-time/time: to time! hms
 nist-correction: difference nist-time cpu-time
]

forever [
 if error? set/any 'err try [
 print [ "Current time was: " now ]
 current-time: now + get-nist-correction
 print [ "New time is: " current-time ]

 s: rejoin [ "date -s " {"} current-time/month "/" current-time/day 
 "/" current-time/year " " current-time/time {"} ]
 probe s
 call s 
 ][ probe mold disarm err ]
 wait 00:02:00 ;; wait 2 mins
]
Kaj
15-Sep-2008
[1632]
Interesting case, though. Virtualisation is one of the areas I want 
to focus on with Syllable Server
Graham
15-Sep-2008
[1633x3]
Looks like Ladislav and I wrote this.
the other way is just setup a time server on the host os and use 
the daylight protocol
daytime
Kaj
15-Sep-2008
[1636]
How big is your RebelBB message database at the momen?
Graham
15-Sep-2008
[1637x4]
not very big.  It's just a mail folder
wouldn
wouldn't be more than 100 messages
I use it as a knowledgebase
Kaj
15-Sep-2008
[1641x3]
Oh :-)
That's very lightweight
Could replace the whole RebelBB/Dovecot thing with a REBOL script 
in an evening :-)
Graham
15-Sep-2008
[1644]
It's supposed to be scaleable :)