Re: [gentoo-user] shared portage tree
On 24 September 2007, Daniel Iliev wrote: Hi, folks Is there any problem to share portage tree over nfs between different archs? In this particular case I want to use a machine with arc=amd64 as a nfs server and share its tree with several x86 machines. That's fine. Uwe -- Jack Nicholson: My mother never saw the irony in calling me a son of a bitch. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] shared portage tree
Daniel Iliev wrote: Hi, folks Is there any problem to share portage tree over nfs between different archs? In this particular case I want to use a machine with arc=amd64 as a nfs server and share its tree with several x86 machines. I do exactly that. The server is an AMD Opteron running 64 bits and there is a mix of x86, amd64 and Intel EM64T machines on the network - all nfs sharing /usr/portage on the server. :) Be lucky, Neil -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] shared portage tree
Thanks for the replies, guys. Yes. This setup works here also and I have no breakages, but since I've let the x86 machies use shared portage tree I have the feeling the performance of portage dropped down notably. I don't know what happens at the end of emerge --sync, what the metadata consists of and if it is the same for each arch and installation. Should I do emerge --regen after syncing on each machine or something like that? P.S. For sure it's not the network connection that slows down the searches, because I made some tests on the NFS which showed transfer speeds in the range of 6.5 to 10MiB/s. I think it's just fine on a 100Mbit connection. -- Best regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] shared portage tree
On Monday 24 September 2007 13:36:34 Daniel Iliev wrote: Yes. This setup works here also and I have no breakages, but since I've let the x86 machies use shared portage tree I have the feeling the performance of portage dropped down notably. I don't know what happens at the end of emerge --sync, what the metadata consists of and if it is the same for each arch and installation. Should I do emerge --regen after syncing on each machine or something like that? If anything you should do emerge --metadata. If transfers the metadata/cache to /var/cache/edb. If you never modify eclasses in /usr/portage you can alternatively use the metadata_overlay cache module... http://www.gentoo.org/proj/en/portage/doc/faq.xml -- Bo Andresen signature.asc Description: This is a digitally signed message part.
RE: [gentoo-user] shared portage tree
In this particular case I want to use a machine with arc=amd64 as a nfs server and share its tree with several x86 machines. I ran a similar NFS setup couple years back when breaking my teeth with Gentoo. Had intermittent problems with the NFS locks, and speed was slow too, so gave up. Though, it might've been just me and my poor NFS setup skills, or some settings in my kernel. From other people's comments and links I noticed they now have some helpful scripts. Wish I had seen them earlier or been able to type out some of my own. :) I switched the server over to providing local Gentoo rsync mirroring for the LAN instead: http://gentoo-wiki.com/HOWTO_Local_Rsync_Mirror I combine this with Squid (proxy) and a few gigs of proxy disk cache on the server end to have the server perform as a complete buffer/cache between my LAN boxen and the external Interweb world. And it doubles as the proxy for regular browsing, too. HTH. YMMV. HAND. -- arttu v. _ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-ussource=wlmailtagline-- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] shared portage tree
On 9/23/07, Daniel Iliev [EMAIL PROTECTED] wrote: Hi, folks Is there any problem to share portage tree over nfs between different archs? In this particular case I want to use a machine with arc=amd64 as a nfs server and share its tree with several x86 machines. -- Best regards, Daniel -- [EMAIL PROTECTED] mailing list I made the mistake once of assuming that different archs use different sources. Someone on this mailing list was kind enough to correct me. So no, there should be no problem sharing a portage tree over nfs. -- - Mark Shields