Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread dong l
qemu has an option `*qemu* -*cpu host` that will use the host cpu features*

2011/7/17 Kfir Lavi lavi.k...@gmail.com



 On Sat, Jul 16, 2011 at 9:13 PM, Michael Orlitzky mich...@orlitzky.comwrote:

 On 07/16/2011 09:54 AM, Kfir Lavi wrote:
  Hi,
  I'm creating a router based on Gentoo, that needs to run as a vm using
  qemu.
  The mother machine will be Core I7 4 cores.
  What cpu and CFLAGS should I use to get the best performance out of this
 vm?
 
  Thanks,
  Kfir

 CFLAGS=-march=native -O2 -pipe enables everything safe these days.

 Hi,
 I think -march=native is a problem, as it will compile for my cpu.
 Qemu has different CPU, and i would like to compile my code to suit the vm
 environment
 as close as possible.

 Kfir



Re: [gentoo-user] Problem with slow Boot

2011-06-29 Thread dong l
maybe lilo doesn't support newer bios,why not try grub?

2011/6/28 Zhu Sha Zang zhushaz...@yahoo.com.br

 Hey people, i have some weird problem with my two notebooks.

 The models are, HP ProBook 6450b and Lenovo Ideapad Z360.

 I'm using LILO in both of the systems and in HP Notebook the load of
 vmlinuz are fast, normal, like any desktop machine. But, in Lenovo Notebook
 the loading are very slow.

 I don't know if have any solution, but reading in some places, this is a
 BIOS mistake.

 Some trick that can i fix this delay?

 --
 Zhu Sha Zang




Re: [gentoo-user] Framebuffer

2011-05-18 Thread dong l
That's called vbe information.If you have grub2,you can enter the
command mode and type 'vbeinfo',or if you use uvesafb,you will get vbe
info here at /sys/devices/platform/uvesafb.0/graphics/fb0/modes

2011/5/18 Indi thebeelzebubtrig...@gmail.com:
 On Wed, May 18, 2011 at 03:10:02PM +0200, JDM wrote:
 Genthinktank,
 How can you determine all the available frambuffer resolutions and colour 
 depths on a particular host for vesafb. I normally set this through trial 
 and error but there must be a command to determine these?
 JDM

 I think fbset will do, check the man page.

 --
 caveat utilitor
 ♫ ❤ ♫ ❤ ♫ ❤ ♫






Re: [gentoo-user] Will the next auto-build stage tar ball include OpenRC update?

2011-05-13 Thread dong l
Glad to see so many people talking about Chinese characters here.I
wrote those words just because I see the thread starter's name written
in Chinese.Thanks to UTF-8  maybe some i18n fonts in your
computer,these characters can be displayed correctly.
Ahh,it's interesting that ancestors devloped such two different kinds
of language.I do think it's quite different from the differences
between pythonperl...

恩,语言反正是用来交流的咯,估计老外看看还感觉挺新奇的~~



Re: [gentoo-user] Virtual Packages

2011-05-13 Thread dong l
I think it is a bit like IoC in OOP programing.
see http://en.wikipedia.org/wiki/Inversion_of_control



Re: [gentoo-user] Will the next auto-build stage tar ball include OpenRC update?

2011-05-12 Thread dong l
个人经历,baselayout的更新其实都不怎么suffer,呵呵~

2011/5/12 刘勇泰 lyt...@gmail.com:
 Hello everyone. I am going to build a new gentoo box. Will the next
 auto-build stage tar ball (2011-5-12) for amd64 include the OpenRC update?
 If so I will not suffer the baselayout updating.




Re: [gentoo-user] are cgroups automatic ?

2011-04-11 Thread dong l
You can dmesg|grep cgroup to see it works..
Sounds like
rquiss@Karata-Laptop ~ $ dmesg|grep cgroup
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
allocated 41943040 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio


2011/4/11 Philip Webb purs...@ca.inter.net

 I have enabled cgroups in kernel 2.6.38 , but am not sure how they work.
 There's nothing in the docs in  /usr/src/linux
  a search via 'make menuconfig' shows nothing suggestive.
 Does the kernel automatically set them up once they're enabled
 or does the user have to do something to define them ? -- anyone know ?

 --
 ,,
 SUPPORT ___//___,   Philip Webb
 ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
 TRANSIT`-O--O---'   purslowatchassdotutorontodotca