Planned downtime: Harddrive replacement (again)

Announcements about major changes in Haven & Hearth.

Re: Planned downtime: Harddrive replacement (again)

Postby loftar » Wed Jun 20, 2012 10:54 pm

GreenScape wrote:But actually, if you were following strictly POSIX it's not that much of porting...

Unfortunately, there are some thing that don't have a common POSIX interface, such as fetching the destination address of incoming UDP packets.

GreenScape wrote:Actually BDB is pain in the ass. It has a lot of cons. You should better consider Tokyo Cabinet and co.

Perhaps. There are a couple of things I like with BDB, though, such as its robustness (it's quite hard to break a BDB database) and its "multiple databases in one file" feature. But certainly, it is arguable that I should check out the alternatives.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9051
Joined: Fri Apr 03, 2009 7:05 am

Re: Planned downtime: Harddrive replacement (again)

Postby loftar » Wed Jun 20, 2012 10:54 pm

eXmart wrote:So.... loftar, what is your plan for the experiment? When are you going to do it?

I started it just now. I can't say I'm seeing much of any positive effect so far, though.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9051
Joined: Fri Apr 03, 2009 7:05 am

Re: Planned downtime: Harddrive replacement (again)

Postby Zou » Wed Jun 20, 2012 11:06 pm

Aside from the frequent large lag spikes, there doesn't seem to be any smaller ones.
hullo, this is bawhopp
Zou
 
Posts: 525
Joined: Tue Aug 03, 2010 7:09 am
Location: Canada

Re: Planned downtime: Harddrive replacement (again)

Postby tempwad » Wed Jun 20, 2012 11:16 pm

loftar wrote:Unfortunately, there are some thing that don't have a common POSIX interface, such as fetching the destination address of incoming UDP packets.


recvmsg() is posix, and it gives destination address.
trapped? masturbate.
User avatar
tempwad
 
Posts: 383
Joined: Thu Feb 10, 2011 1:03 pm

Re: Planned downtime: Harddrive replacement (again)

Postby loftar » Thu Jun 21, 2012 1:36 am

tempwad wrote:
loftar wrote:Unfortunately, there are some thing that don't have a common POSIX interface, such as fetching the destination address of incoming UDP packets.


recvmsg() is posix, and it gives destination address.

No, it gives the source address, not the destination address. ;)
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9051
Joined: Fri Apr 03, 2009 7:05 am

Re: Planned downtime: Harddrive replacement (again)

Postby Pixi » Thu Jun 21, 2012 5:53 am

Loftar thx for job y doing.
I'm happy then see people, who work at project like this, and give this so much life. Y make a lot off people happy, and just help spending they free time so intersting.
Pixi
 
Posts: 2
Joined: Mon Apr 30, 2012 3:05 am

Re: Planned downtime: Harddrive replacement (again)

Postby dagrimreefah » Thu Jun 21, 2012 6:10 am

Lag has cleared up considerably in the past 2 days. Still spikes, but much better imo. Thank you sincerely Loftar.
User avatar
dagrimreefah
 
Posts: 2635
Joined: Wed May 25, 2011 3:01 am

Re: Planned downtime: Harddrive replacement (again)

Postby tempwad » Thu Jun 21, 2012 7:09 am

loftar wrote:
tempwad wrote:
loftar wrote:Unfortunately, there are some thing that don't have a common POSIX interface, such as fetching the destination address of incoming UDP packets.


recvmsg() is posix, and it gives destination address.

No, it gives the source address, not the destination address. ;)


no, mate, it gives both.
https://groups.google.com/group/comp.os ... 278c7e6fe1

anyway, fuck posix and udp.
trapped? masturbate.
User avatar
tempwad
 
Posts: 383
Joined: Thu Feb 10, 2011 1:03 pm

Re: Planned downtime: Harddrive replacement (again)

Postby GreenScape » Thu Jun 21, 2012 8:36 am

loftar wrote:Unfortunately, there are some thing that don't have a common POSIX interface, such as fetching the destination address of incoming UDP packets.


recvfrom(2). To be more preicse: src_addr which is sockaddr_in. It has both port and source address. But maybe i misunderstood you. If you really mean _destination_ then yeah. But that only make's sense for when you have more than one network interface.

loftar wrote:Perhaps. There are a couple of things I like with BDB, though, such as its robustness (it's quite hard to break a BDB database) and its "multiple databases in one file" feature. But certainly, it is arguable that I should check out the alternatives.


Yeah, i agree. That's about personal preferences, needs and experience. But learning something new is always fun :) Of course only when you have time to spare.
I hate you! Yes, you!
How does it matter when you die? Today? In hundred years? What will be left of you after millenia?
User avatar
GreenScape
 
Posts: 500
Joined: Thu Sep 16, 2010 2:39 pm
Location: Ukraine, Kyiv

Re: Planned downtime: Harddrive replacement (again)

Postby ArtemisGray » Thu Jun 21, 2012 8:58 am

Compared to a few days back, the lag is way better. Like other people have said there is still the odd big lag spike but other than that the game is playable.

Huzzah~
Image
User avatar
ArtemisGray
 
Posts: 287
Joined: Sat Mar 17, 2012 3:07 am
Location: New Zealand

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: Claude [Bot] and 1 guest