search for: jianfeng

Displaying 20 results from an estimated 81 matches for "jianfeng".

2014 Sep 12
2
grep ip address from KVM DHCP log
...t the IP address that assigned to my VM. I know I can configure static ip but I like to assign ip dynamically to avoid mgmt cost. Does anyone know where the dhcp log is? My KVM host is running Ubuntu Raring (13.04). It does not have file /var/log/daemon.log as some online doc mentioned. Thanks, ~Jianfeng >
2011 Apr 28
4
how to generate a normal distribution with mean=1, min=0.2, max=0.8
Dear all, This is a simple probability problem. I want to know, How to generate a normal distribution with mean=1, min=0.2 and max=0.8? I know how the generate a normal distribution of mean = 1 and sd = 1 and with 500 data point. rnorm(n=500, m=1, sd=1) But, I am confusing with how to generate a normal distribution with expected min and max. I expect to hear your directions. Thanks in
2006 Aug 30
2
What method can I use to configure PXE client(msdos) output console from serial port?
...p the PXE client output console is serial port ? Below is the PXE configure file?s content: Vi /tftpboot/pxelinux.cfg/default Kernel memdisk Append initrd=dos.img Note: dos.img is a DOS bootable disk image, ( dd if=/dev/fd0 of=/dos.img ) Thanks ************************** ??? Jianfeng Yu ?????????? ???????????????????TCL??A??? 518057 Continuous Computing China Block A, 6 F, TCL Building, Gao Xin Nan Yi Dao, Nanshan District, Shenzhen, Guangdong, P.R.China 518057 Tel: +86.755.2663.0888 ext. 6928 Fax: +86.755.2663.0822 Mobile: +86.13632801696 Email: yu.jianfeng at ccp...
2009 Jun 09
4
how to substitute missing values (NAs) by the group means
Dear Ruser's I ask for helps on how to substitute missing values (NAs) by mean of the group it is belonging to. my dummy dataframe is: > df group traits 1 BSPy01-10 NA 2 BSPy01-10 7.3 3 BSPy01-10 7.3 4 BSPy01-11 5.3 5 BSPy01-11 5.4 6 BSPy01-11 5.6 7 BSPy01-11 NA 8 BSPy01-11 NA 9 BSPy01-11 4.8 10 BSPy01-12 8.1 11 BSPy01-12 6.0 12
2018 Apr 10
2
[virtio-dev] Re: [RFC] vhost: introduce mdev based hardware vhost backend
...at intel.com>; > virtio-dev at lists.oasis-open.org; linux-kernel at vger.kernel.org; > kvm at vger.kernel.org; virtualization at lists.linux-foundation.org; > netdev at vger.kernel.org; Daly, Dan <dan.daly at intel.com>; Wang, Zhihong > <zhihong.wang at intel.com>; Tan, Jianfeng <jianfeng.tan at intel.com>; Wang, Xiao > W <xiao.w.wang at intel.com> > Subject: Re: [virtio-dev] Re: [RFC] vhost: introduce mdev based hardware vhost > backend > > On Tue, Apr 10, 2018 at 09:23:53AM +0000, Liang, Cunming wrote: > > > > > > > -----O...
2014 Mar 04
2
Re: how to disable vnet_hdr through libvirt
Thank you Daniel. How difficult to extend libvirt for this? One critical application on my VM needs to turn vnet_hdr off. I can switch to use qemu directly. However, in that way I will lose all the nice things provided by libvirt. Thanks, ~Jianfeng On 3/3/14 3:53 AM, "Daniel P. Berrange" <berrange@redhat.com> wrote: >On Fri, Feb 28, 2014 at 07:11:13PM +0000, Jianfeng Tang wrote: >> Hi, >> >> I am using libvirt and virsh to create my VM on KVM. It works fine. >> However, I need to turn off vnet_hdr...
2018 Apr 10
4
[virtio-dev] Re: [RFC] vhost: introduce mdev based hardware vhost backend
...pen.org; linux-kernel at vger.kernel.org; kvm at vger.kernel.org; > virtualization at lists.linux-foundation.org; netdev at vger.kernel.org; Daly, Dan > <dan.daly at intel.com>; Liang, Cunming <cunming.liang at intel.com>; Wang, > Zhihong <zhihong.wang at intel.com>; Tan, Jianfeng <jianfeng.tan at intel.com>; > Wang, Xiao W <xiao.w.wang at intel.com> > Subject: Re: [virtio-dev] Re: [RFC] vhost: introduce mdev based hardware > vhost backend > > On 10/04/2018 06:57, Tiwei Bie wrote: > >> So you just move the abstraction layer from qemu to k...
2009 Apr 10
4
split a character variable into several character variable by a character
Dear Mao Jianfeng, "r-help-owner" is not the place for help, but: r-help at r-project.org (CC-ed here) In any case, strsplit() does the job, i.e.: > unlist(strsplit("BCPy01-01", "-")) [1] "BCPy01" "01" You can work with the whole variable, like: splitpop <-...
2010 Jul 09
3
how to plot two histograms overlapped in the same plane coordinate
Dear R-help listers, I am new. I just want to get helps on how to plot two histograms overlapped in the same plane coordinate. What I did is very ugly. Could you please help me to improve it? I want to got a plot with semi- transparent overlapping region. And, I want to know how to specify the filled colors of the different histograms. I also prefer other solutions other than ggplot2. Many
2009 Aug 19
2
Why are there small circles in my plot
Dear R-listers, There is my data and my codes to create a plot. I want to know why there are two small circles in the upper right and lower left of the plot respectively. Could you please share your experience or advice with me? # dummy data factor<-rep(c("Alice","Jone","Mike"),each=100) factor<-factor(factor) traits<-c(rnorm(100, mean=1, sd=1), rnorm(100,
2014 Feb 28
2
how to disable vnet_hdr through libvirt
Hi, I am using libvirt and virsh to create my VM on KVM. It works fine. However, I need to turn off vnet_hdr for virtio interface. Does anyone know how to do it through libvirt? Thanks.
2014 Mar 06
1
Re: how to disable vnet_hdr through libvirt
Daniel P. Berrange <berrange@...> writes: > > On Tue, Mar 04, 2014 at 03:56:06PM +0000, Jianfeng Tang wrote: > > Thank you Daniel. How difficult to extend libvirt for this? One critical > > application on my VM needs to turn vnet_hdr off. > > Can you explain why in more detail. We don't expose this as a configurable > setting because we don't believe there's a...
2005 Aug 08
2
installing problems about randomForest
...if (decsplit < 0.0) decsplit = 0.0 ^ 2 errors detected in the compilation of "rfsub.f". gmake: *** [rfsub.o] Error 2 ERROR: compilation failed for package 'randomForest' " Can somebody help me ? Thanks in advance. Xiao Jianfeng
2014 Aug 06
2
Re: Ubuntu Trusty: failed to create VM due to permission denied
Thank you Eric. Yes, it looks like AppArmor caused the problem. I will google on how to disable it. On 8/5/14 8:27 PM, "Eric Blake" <eblake@redhat.com> wrote: >On 08/05/2014 05:23 PM, Jianfeng Tang wrote: > >> >> However, if I moved my image file (not base image) to default location >> /var/lib/libvirt/images. It works. >> >> It seems something related to selinux. However, my box seems not have >> selinux installed at all. > >It's probab...
2009 Apr 09
2
failed when merging two dataframes, why
Hi, R-listers, Failed, when I tried to merge df1 and df2 by "codetot" in df1 and "codetoto" in df2. I want to know the reason and how to merge them together. Data frames and codes I have used were listed as followed. Thanks a lot in advance. df1: popcode codetot p3need BCPy01-01 BCPy01-01-1 100.0000 BCPy01-01 BCPy01-01-2 100.0000 BCPy01-01 BCPy01-01-3 100.0000 BCPy01-02
2014 Aug 11
3
Does libvirt have API to detect image format
> I am using backing store when I create my volume. However, the backing store file is from another team, which can be either in raw or in qcow2 format. Is there a libvirt API to detect image format by given an image file? Or I have to run qemu-img? >
2009 Aug 19
2
how to fill the area under the density line with semitransparent colors
Dear R-listers, I have created a plot to display the density lines for the same variable by different entities. Now, I want to fill the area under the density lines with semitransparent colors. Though I have checked that in web-searching and book-reading, I still do not perform that. Could anyone please give me any helps or advice? Thank you in advance. The data and code I used listed below: #
2018 Apr 20
1
[RFC] vhost: introduce mdev based hardware vhost backend
...rg; linux-kernel at vger.kernel.org; > kvm at vger.kernel.org; virtualization at lists.linux-foundation.org; > netdev at vger.kernel.org; Daly, Dan <dan.daly at intel.com>; Liang, Cunming > <cunming.liang at intel.com>; Wang, Zhihong <zhihong.wang at intel.com>; Tan, > Jianfeng <jianfeng.tan at intel.com>; Wang, Xiao W <xiao.w.wang at intel.com>; > Tian, Kevin <kevin.tian at intel.com> > Subject: Re: [RFC] vhost: introduce mdev based hardware vhost backend > > On Thu, Apr 19, 2018 at 09:40:23PM +0300, Michael S. Tsirkin wrote: > > On T...
2009 Feb 23
1
how todefine an variable/column in a dataframe as numeric mode
Hello dear R-users, I have a tricky problem of data manipulation with R. Although it seems very easy, I can not solve it by myselves. The problem is a variable in my dataset is usually be readed as "factor" (variable mode), however I want it be a "numeric" one. I want to know how can I define an variable/column in a dataframe as numeric mode, after I imported a large
2012 Aug 07
1
how to write out a tree file with bootstrap from phangorn package
Dear R-helpers and Klaus, I would like to know how to write out a tree file with bootstrap from phangorn package. That tree file could be in newick format or others. I am new for phylogenetic operation in R. Could you please give me any directions on that? Thanks in advance. Best wishes, Jian-Feng, ######## # as a example # I accomplished 1000 bootstrap simulation on a fit object (a maximum