-
warp
Swarup: you can run the update script which has that function I think.
2012-10-17 29125, 2012
-
kepstin-work joined the channel
2012-10-17 29131, 2012
-
warp
2012-10-17 29135, 2012
-
Swarup
which update script?... admin/sql/updates/20120731-constrain-catno-whitespace.sql - i don't see this in my sandbox
2012-10-17 29101, 2012
-
Swarup
should i just run CreateFunctions.sql
2012-10-17 29146, 2012
-
Swarup
ha nm..i see it ..sorry..
2012-10-17 29136, 2012
-
Swarup
2012-10-17 29150, 2012
-
Swarup
is that ok to continue
2012-10-17 29120, 2012
-
luks
warp: as far as I can tell, that script is only for master servers
2012-10-17 29143, 2012
-
warp
luks: ok
2012-10-17 29107, 2012
-
warp
luks: do you have an suggestions on how Swarup should continue?
2012-10-17 29111, 2012
-
luks
I guess creating just the functions from that script will work
2012-10-17 29124, 2012
-
luks
but I never managed to run the whole upgrade process, so I'm not sure
2012-10-17 29141, 2012
-
Swarup
ok let me try that..but i would expect others to have issue ..right?
2012-10-17 29144, 2012
-
luks
after hitting the postgresql 8.4 issue I gave up
2012-10-17 29141, 2012
-
luks
Swarup: yes, everybody I've seen trying to upgrade today ended up with a reimport instead :)
2012-10-17 29154, 2012
-
Swarup
hmm
2012-10-17 29105, 2012
-
Swarup
ok probably that's safer in anycase..let me go that route..
2012-10-17 29121, 2012
-
luks
it seems that creating the functions should work though
2012-10-17 29122, 2012
-
luks
2012-10-17 29153, 2012
-
ruaok
Swarup: we're trying to get a fix for the 8.4 problem out. but a reimport will likely be faster. :(
2012-10-17 29121, 2012
-
warp
ruaok: note that this was not the array_agg/ORDER problem
2012-10-17 29136, 2012
-
ruaok
ah.
2012-10-17 29145, 2012
-
ruaok
things looked so promising yesterday. :(
2012-10-17 29108, 2012
-
Swarup
we're on posgres 9 i believe..i just loaded those missing functions manually...running it now..if it still fails will go with re-import
2012-10-17 29127, 2012
-
ruaok
good. then you should be fine, Swarup
2012-10-17 29146, 2012
-
warp
ruaok: both machines here upgraded without trouble yesterday. but that's with the friday dump on ubuntu supplied 9.x.
2012-10-17 29102, 2012
-
ruaok
same here.
2012-10-17 29113, 2012
-
ruaok
but I should've gone with the stock 8.4 pg install for my testing.
2012-10-17 29138, 2012
-
ruaok
I've noted the problem in the migration doc, so we that do our testing with the lowest version of pg supported
2012-10-17 29117, 2012
-
warp
ruaok: in the months leading up to the schema change we should perhaps ping our customers and ask what postgres they're running exactly.
2012-10-17 29141, 2012
-
warp
that will give us a better idea which versions are important to test.
2012-10-17 29149, 2012
-
ruaok
yeah.
2012-10-17 29104, 2012
-
ruaok
I think for the next release we should specify a min of 9.x.
2012-10-17 29131, 2012
-
Swarup
Rob..do u recommend to upgrade search server too along with api servers for this patch..
2012-10-17 29135, 2012
-
ruaok
I think once I start the schema change process on feb 1, I will mail our customers and tell them that.
2012-10-17 29140, 2012
-
warp
obviously that's easiest for us, we're all on 9.x anyway. I don't know how easy it is for customers to upgrade.
2012-10-17 29113, 2012
-
reosarevok
Someone mentioned debian stable has 8.4
2012-10-17 29122, 2012
-
ruaok
Swarup: can't hurt. the upgrade is easy -- you just need to put a new war in place for the search servers.
2012-10-17 29142, 2012
-
ruaok
reosarevok: debian stable is also ancient
2012-10-17 29153, 2012
-
Swarup
ok will do..thanks
2012-10-17 29102, 2012
-
ruaok
good luck Swarup
2012-10-17 29103, 2012
-
warp
ruaok: if we still have a few customers on 8.4 we can perhaps support a (re)import on 8.4, but not upgrade.
2012-10-17 29104, 2012
-
reosarevok
Sure, but I imagine some people prefer "stable" to "new", especially companies
2012-10-17 29117, 2012
-
ruaok nods at warp
2012-10-17 29129, 2012
-
adhawkins is on Debian with 8.4
2012-10-17 29144, 2012
-
warp
reosarevok: there _should_ be a new debian stable in february.
2012-10-17 29123, 2012
-
adhawkins
No real reason why I couldn't update my VM with MB server to testing though
2012-10-17 29128, 2012
-
adhawkins
That's all it does.
2012-10-17 29145, 2012
-
ruaok
oh, I need to get a new VM going too.
2012-10-17 29109, 2012
-
adhawkins
ruaok: I think I mentioned this last time, but if you could create a second disk and mount it for postgres it'd help people
2012-10-17 29116, 2012
-
adhawkins
Make it much easire when you run out of space.
2012-10-17 29121, 2012
-
adhawkins
easier
2012-10-17 29122, 2012
-
ruaok
yes.
2012-10-17 29134, 2012
-
ruaok
and then we could put out data updates without having to update everything else.
2012-10-17 29100, 2012
-
adhawkins
That's true.
2012-10-17 29133, 2012
-
ruaok
1GB root and then a 10GB /mnt/db or something?
2012-10-17 29131, 2012
-
adhawkins
Something like that sounds good.
2012-10-17 29148, 2012
-
adhawkins
A dynamic disk will mean the second bit will only be as big as the data on it and can grow as necessary
2012-10-17 29114, 2012
-
ruaok
should I do a 64bit or 32 bit install?
2012-10-17 29154, 2012
-
warp
32bit seems safer.
2012-10-17 29110, 2012
-
adhawkins
Yeah, a lot of linux installs are still 32 bit these days (mine included).
2012-10-17 29116, 2012
-
adhawkins
I plan on changing that next time I reinstall though.
2012-10-17 29142, 2012
-
warp
You can run a 32bit VM on both a 32bit and 64bit machine. I'm not sure a 32bit host can run a 64bit guest yet.
2012-10-17 29154, 2012
-
adhawkins
warp: I don't think mine can.
2012-10-17 29116, 2012
-
luks
I often do that (64bit vm on 32bit host)
2012-10-17 29121, 2012
-
luks
for building
2012-10-17 29159, 2012
-
adhawkins
Depends on the processor and VM software I think luks
2012-10-17 29118, 2012
-
kepstin-work
a 32bit os with a 64bit processor with hardware virtualization can run a 64bit guest
2012-10-17 29143, 2012
-
adhawkins
kepstin-work: I don't think my atom can though :)
2012-10-17 29100, 2012
-
kepstin-work
adhawkins: yeah. requires hardware virtualization extensions; atom doesn't have that.
2012-10-17 29139, 2012
-
warp
kepstin-work: looks like a 32bit os on a 32bit CPU can also run 64bit guests if the CPU has the appropriate VT support.
2012-10-17 29155, 2012
-
kepstin-work
warp: that's what I said.
2012-10-17 29102, 2012
-
kepstin-work
er, wait, no
2012-10-17 29107, 2012
-
kepstin-work
it has to be a 64bit cpu
2012-10-17 29101, 2012
-
kepstin-work
a 32bit cpu can't run 64bit programs no matter what, unless you do slow software emulation.
2012-10-17 29141, 2012
-
ruaok
I think I'll just continue with a 32bit one for now.
2012-10-17 29144, 2012
-
kepstin-work notes that in x86, running a 32bit os on a 64bit cpu is stupid, because you lose half your cpu registers.
2012-10-17 29146, 2012
-
luks
but you also get 64bit pointers that you don't need
2012-10-17 29149, 2012
-
kepstin-work
in general, having double the registers gives you more performance than you lose by having bigger pointers
2012-10-17 29156, 2012
-
kepstin-work
a few unusual cases don't.
2012-10-17 29116, 2012
-
adhawkins has just caught up with replication packets and restarted his server.
2012-10-17 29118, 2012
-
adhawkins
All good.
2012-10-17 29140, 2012
-
kepstin-work
(this is what that 'x32' stuff recently added to linux is supposed to work around - keep the extra registers, but keep using short pointers)
2012-10-17 29110, 2012
-
warp
aren't larger pointers useful when you have >4GB ram?
2012-10-17 29124, 2012
-
kepstin-work
warp: most userspace programs don't need >4gb ram
2012-10-17 29129, 2012
-
kepstin-work
but those that do, really do.
2012-10-17 29133, 2012
-
warp
(I have no idea how much overhead PAE is)
2012-10-17 29148, 2012
-
kepstin-work regularly uses the gimp with 8gb of in-ram data
2012-10-17 29119, 2012
-
kepstin-work
warp: pae only lets the kernel spread processes out over more ram. processes are still individually limited to 4gb
2012-10-17 29130, 2012
-
kepstin-work
er, closer to 3gb in most setups, really.
2012-10-17 29133, 2012
-
warp
right.
2012-10-17 29154, 2012
-
warp
so your gimp example would suffer badly on a 32bit os.
2012-10-17 29108, 2012
-
kepstin-work
yep
2012-10-17 29125, 2012
-
kepstin-work
you could run a 64bit kernel with mixed 32bit/64bit userspace
2012-10-17 29145, 2012
-
kepstin-work
but then you have a ram and cache penalty, because some shared libraries can't be shared between the two.
2012-10-17 29155, 2012
-
Freso
kepstin-work: Isn't that the most common scenario for people running 64-bit kernels?
2012-10-17 29115, 2012
-
kepstin-work
Freso: most linux installs use 64bit kernel with mostly-64bit userspace
2012-10-17 29125, 2012
-
warp
I wouldn't expect libraries to use a significant amount of memory compared to the data you're processing.
2012-10-17 29125, 2012
-
Freso
I know I have a fair share of lib32 packages installed.
2012-10-17 29126, 2012
-
kepstin-work
notable exceptions are wine and proprietary applications that are 32bit only
2012-10-17 29155, 2012
-
Freso
kepstin-work: But if it's "mostly-64bit userspace", is it not then also mixed? :)
2012-10-17 29155, 2012
-
kepstin-work
warp: instruction cache penalties when multitasking hurt - the more shared code, the better :)
2012-10-17 29113, 2012
-
Freso
kepstin-work: Actually, Wine can be 64bit now too.
2012-10-17 29126, 2012
-
kepstin-work
Freso: 64bit wine can only run 64bit windows programs
2012-10-17 29135, 2012
-
Freso
kepstin-work: If you compile it to be. But its support isn't very good, even for Wine standards, yet.
2012-10-17 29139, 2012
-
kepstin-work
you need 32bit wine for 32bit windows programs (i.e. almost all of them)
2012-10-17 29157, 2012
-
kepstin-work
gentoo and some others do a multibuild wine that installs both 64bit wine and 32bit wine together.
2012-10-17 29114, 2012
-
Freso
Arch \o/
2012-10-17 29140, 2012
-
kepstin-work
windows is more or less the other way - the kernel is 64bit, but most programs are 32bit with a few exceptions.
2012-10-17 29146, 2012
-
Freso has set WINEARCH=win32 in his .zprofile
2012-10-17 29158, 2012
-
kepstin-work
I think some newer versions of e.g. photoshop might have 64bit versions?
2012-10-17 29114, 2012
-
Freso shrugs
2012-10-17 29129, 2012
-
warp
windows is for steam, and not much else. :)
2012-10-17 29146, 2012
-
Freso
kepstin-work: I was merely commenting on how "mixed" was the most likely scenario. Not the degree of "mixed". :)
2012-10-17 29148, 2012
-
kepstin-work
either way, my desktop has 12gb ram, and I can use large amounts of that for processing big scans in the gimp :)
2012-10-17 29105, 2012
-
kepstin-work
Freso: yeah; although I did actually run my laptop pure-64bit for a while
2012-10-17 29110, 2012
-
kepstin-work
before I installed wine
2012-10-17 29118, 2012
-
Freso
Yeah. I need more RAM, I've realised. :)
2012-10-17 29121, 2012
-
Freso
* :|
2012-10-17 29129, 2012
-
warp
I thought I needed more RAM
2012-10-17 29158, 2012
-
Freso
Since I've begun pushing a lot of filesystem paths into hourly sync'd tmpfs file systems...
2012-10-17 29100, 2012
-
kepstin-work
For something silly like $120, I can put 24gb ram in my desktop.
2012-10-17 29133, 2012
-
warp
I've always been fine on the desktop with 4GB, but after replacing debian with ubuntu I started to have some trouble after a few weeks.
2012-10-17 29144, 2012
-
kepstin-work
well, that's ubuntu :/
2012-10-17 29145, 2012
-
luks
I never had the need for that much ram on a desktop machine
2012-10-17 29155, 2012
-
Freso
kepstin-work: That's pretty cheap. For 600 DKK, I could probably get a single 8 GB block. :|
2012-10-17 29108, 2012
-
warp
so I went out and bought another 4GB, installed it, and now I'm back to less than 3GB usage. turns out it probably just needed a reboot.
2012-10-17 29117, 2012
-
Freso
Haha.
2012-10-17 29118, 2012
-
kepstin-work
luks: you've never had the opportunity to extract raw cd audio to a ramdisk then encoding it :)
2012-10-17 29120, 2012
-
warp
(obviously a reboot is required for installing memory :)
2012-10-17 29144, 2012
-
kepstin-work has actually decoded dvd music videos to raw video on a ramdisk before
2012-10-17 29146, 2012
-
Freso
Yeah, I thought I'd be good with 8 GB. Before I started pushing stuff into tmpfs's.
2012-10-17 29114, 2012
-
kepstin-work
most compiling I do is on tmpfs as well
2012-10-17 29119, 2012
-
kepstin-work
I can compile libreoffice completely in ram :/
2012-10-17 29123, 2012
-
warp
lol
2012-10-17 29129, 2012
-
Freso
All compiling I do is on tmpfs. :p
2012-10-17 29136, 2012
-
luks
well, most of the day all I need it a browser, music player and terminal with ssh, don't need much ram for that :)
2012-10-17 29142, 2012
-
Freso
But then, I don't compile LO.
2012-10-17 29145, 2012
-
luks
ram is for the servers I ssh to
2012-10-17 29102, 2012
-
kepstin-work
at this point tho, I probably use my laptop more often than my desktop
2012-10-17 29108, 2012
-
kepstin-work
and my laptop only has 4gb.
2012-10-17 29109, 2012
-
ruaok
luks: I'm on the same page with you there.
2012-10-17 29128, 2012
-
ruaok
my laptop hardly ever does any work. but the machines I ssh to, lots.
2012-10-17 29146, 2012
-
kepstin-work would say 4gb is a good amount for a typical-usage machine, and most people would be fine with a 32bit os.
2012-10-17 29121, 2012
-
luks
since I switched to gnome 3, I often feel sad then I alt+tab and see only three/four icons there :)
2012-10-17 29132, 2012
-
luks
it made me realize how much I really use the laptop
2012-10-17 29149, 2012
-
kepstin-work
luks: there's an extension if you want to see separate icons for your terminal windows :)
2012-10-17 29158, 2012
-
kepstin-work
it might make you feel better.
2012-10-17 29144, 2012
-
warp
heh, when I'm working on non-musicbrainz projects the machine I SSH into does most of the work as well.