From owner-freebsd-questions@freebsd.org Fri Sep 29 17:42:26 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 965CDE31A72 for ; Fri, 29 Sep 2017 17:42:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay13.qsc.de (mailrelay13.qsc.de [212.99.187.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D9E66F63A for ; Fri, 29 Sep 2017 17:42:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay13.qsc.de; Fri, 29 Sep 2017 19:42:17 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 55F4F3CCD5; Fri, 29 Sep 2017 19:42:16 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v8THgF7U002181; Fri, 29 Sep 2017 19:42:15 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 29 Sep 2017 19:42:15 +0200 From: Polytropon To: Manish Jain Cc: "freebsd-questions@freebsd.org" Subject: Re: A few questions about FreeBSD Message-Id: <20170929194215.78eee432.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay13.qsc.de with 93F37683479 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1487 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2017 17:42:26 -0000 On Fri, 29 Sep 2017 05:37:10 +0000, Manish Jain wrote: > Hi, > > I am writing a doc about FreeBSD/Unix. > > There are a few questions I wish to be get the answers for. > > 1) As a desktop system, is it needed to have a swap partition at all ? The question is malformed. :-) You (probably) need a swap partition for two typical reasons: 1. RAM is full -> system needs to swap to disk 2. kernel crash -> system needs to write a dump file Now you might say: Desktop users aren't interested in kernel dumps, so you could remove reason 2. There are configuration options to prevent the system from trying dumps. But for reason 1, you can only hope that there is sufficient RAM _and_ no program you're running has a memory leak filling up the RAM. This depends on the (application) software you're using, or the libraries the programs are incorporating, nothing you have real control over. On my desktop systems, I usually have a swap partition. Many years (or maybe decades?) ago, the suggestion was to make it 2 x max. RAM in size, so when your system could be enhanced up to 8 GB RAM; you'd create a swap partition of 16 GB. However, disk space is cheap, so there is no need to fear the swap partition. On the other hand, as today's PCs have lots of RAM, it's also possible to assign swap to RAM. Of course, in case 2, a stored kernel dump will be gone, and case 1 is a totally stupid consideration. :-) > My system is AMD Athlon X2 270 with 8 GB DDR3 RAM and no swap, running > KDE4. The box works wonderfully for me. > > Is swap advisable for 8 GB ? 4 GB ? 2GB RAM ? Depends. As often, it depends on what applications you're running and how they consume RAM. You can use tools like xosview or htop to see if the RAM can be fully occupied. For example, on my home system, I needed to open more than 70 tabs with "Flash" in Opera to get the 2 GB RAM filled, and the system started swapping. > Less than that much is essentially unheard of nowadays. It is no problem to simply add a swap partition. If you don't need it - no problem, it doesn't harm. :-) > 2) Since I do not use video-chat, I needed some tips about video-chat > software that works well under FreeBSD. Would that be Jitsi ? Skype ? As far as I know, "Skype" (now owned by MICROS~1) is not supported. A Linux version might work. Many years ago, I did once try the Linux version, and it worked with video and audio. But that was on FreeBSD 7, if I remember correctly, so I'm totally out of touch with videophone reality. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...