From owner-freebsd-questions@freebsd.org Sat Jul 25 17:18:23 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1867B36A65F for ; Sat, 25 Jul 2020 17:18:23 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BDXpQ10Dkz4SCD for ; Sat, 25 Jul 2020 17:18:21 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-io1-xd42.google.com with SMTP id s189so5687172iod.2 for ; Sat, 25 Jul 2020 10:18:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CTgpwScnkoAHEjkM/c3BkozIME0mQU3Dl1rfZ6TsOFE=; b=rjqdZ+kmiGhv9DGWJb3we2tKzG49Hr+nnQ5bpvgSGsdilWqTZMWiFpAsAqqx4v+p9Q a+DpPaWfxIrsJ5LlWtL8OeCjwoqa8D2UGMpkg2temq+hOaHPdvgxZuIhqm4zo6GZlZKu 0Ywk5iQNe/0WzptCdpib9YXAjiilWEYOMxT77uqRzGBEdfiZ0oihBC4FdrLon0tLLXmf zSAxM8lNk7fO7C107rWTjMM5Fw/vJbbHygFu6JZvi16J90Krvo5wDlVSuE4t0gSArzdx dSAw/vo8j+2jSuc1txkL0D8+kWIXRhTfaMi5mpHQ7qLqHdd+PBmOdvlDs+L5oBCsPImg qC+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CTgpwScnkoAHEjkM/c3BkozIME0mQU3Dl1rfZ6TsOFE=; b=UFUgxQKbLj5duIS5SQ1kUavGctAXJTZaXBzAPRouHY/s/69kGjtD4qW65Tp38T93PP i4Fw7Mgny6LAS4SLYZVH5QAxbcF+ltsIx9qCCmCluJUNKpKDY5pXSr/c+JmeQN+zexmB 16LXgktugAcrinE2snpo6g3ks7kcY42G07ijTUd6OJOE5i5GqZ2vaB8DxDBDI5db15L9 BM/9IsUiFaJGkz7q3Y1i3U1AjVwvQAYDTwySOwtkR5UzJcmxThDk0kAx/0cuFpE5fvL6 mWEBi0OID+zge979+ZrsXlACg8Y/cumhLtAu0oaG0qnDfu+rckWZ6t99YmvmxaavrftT bhzw== X-Gm-Message-State: AOAM530rNiLX21Eu0hhqGK0h212MsxZE8l2udlDrnGITrtcWE+KS8LFN SKDtH6oJHd6g2QklK22pZSgYoaiZhv3S53OUIyVcWmB2rUI= X-Google-Smtp-Source: ABdhPJyhko12yyzFaV9t5Z1FBqQGvp7hfrkP3WRVvvUKiwxKm19Uu8I4zjDNs9jJE97dmFC3ue7UWDXSSzMBKWDlDcM= X-Received: by 2002:a02:b610:: with SMTP id h16mr2641441jam.74.1595697500793; Sat, 25 Jul 2020 10:18:20 -0700 (PDT) MIME-Version: 1.0 References: <20200214204838.360c8f624397c659946bd764@sohara.org> <20200215063818.GE1482@admin.sibptus.ru> <20200215083359.367d8a3e9ddb4942df67d5b5@sohara.org> <58202623-bbf7-eda0-5cb5-fb4749e91e20@watters.ws> <6318251A-973A-4DEC-9271-12333EB11F7B@kicp.uchicago.edu> <20200725152412.GJ92589@admin.sibptus.ru> <20200725162403.GA4721@admin.sibptus.ru> In-Reply-To: <20200725162403.GA4721@admin.sibptus.ru> From: Aryeh Friedman Date: Sat, 25 Jul 2020 13:18:08 -0400 Message-ID: Subject: Re: Ask stupid questions and you'll get a stupid answers, was: Technological advantages over Linux To: Victor Sudakov Cc: FreeBSD Mailing List X-Rspamd-Queue-Id: 4BDXpQ10Dkz4SCD X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=rjqdZ+km; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::d42 as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-3.95 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.003]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.03)[-1.034]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d42:from]; NEURAL_HAM_SHORT(-0.91)[-0.913]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2020 17:18:23 -0000 On Sat, Jul 25, 2020 at 12:24 PM Victor Sudakov wrote: > Aryeh Friedman wrote: > > On Sat, Jul 25, 2020 at 11:24 AM Victor Sudakov wrote: > > > > > Michael Watters wrote: > > > > > > > > On 7/24/2020 9:39 AM, Ottavio Caruso via freebsd-questions wrote: > > > > > Why do I have to choose between Linux and FreeBSD? Why can't I have > > > > > both? I also use NetBSD, OpenBSD, Android, occasionally Windows. > Am I > > > > > a traitor? Am I an infidel? > > > > > > > While it's fun to test out and play with different OSes it makes life > > > > much simpler if you standardize on *one* platform. Most > organizations > > > > have standards and policies about what operating systems are allowed > on > > > > their servers. > > > > > > This is very true. And when it comes to choice between Linux and > > > FreeBSD (as a company policy), despite my love for FreeBSD and long > time > > > (over 20 years) experience therewith, I find there is very little I can > > > now rationally present as arguments to choose FreeBSD over Linux. > > > > > > > If stability is not a factor then you likely have no real argument > because > > Linux has a long history of "borrowing" to put it politely tech from > > Do you know how to present "stability" as a measureable parameter in an > OS advocacy process? No, Debian or CentOS don't just panic or crash > unexpectedly, if you mean that. Even the modern Windows does not. > Really simple uptime under load. Just give them uptime stats for different OS's. Also show that applications that originated from different OS's have very different ideas of stability. Prime example is all the crap that FreeBSD has had to import from Linux to make X work has made it incredibly unstable (I have to reboot 3 or 4 times a day if I am using KDE, Gnome or any other Linux originated desktop software usually due to it slowing to a crawl for no apparent reason [has to be resource leak of some kind]). https://www.reddit.com/r/sysadmin/comments/2y82f5/uptime_whats_your_longest_running_server_without/ > If by "stability" you mean "architectural purity" then yes, I see your > point, but it's not very valid in the eyes of a businessman. > Stability has *NOTHING* to do with architectural purity! (it is a side effect perhaps but not the main cause of stability) ... stability is nothing more does it do what you expect, when you expect it (with zero side effects) on the *FIRST* attempt and *ALL* future attempts. > A point "you can do XXX only with FreeBSD" is a valid point. But I > cannot find such points for the present. > Since any general purpose computer is theoretically mathematically identical to every other general purpose computer (the only difference being performance, capacity and what I/O devices you can connect to it) there is no one feature of *ANY* computer/OS you can point to and say "no other system can do X". This is what makes computer science a science and not voodoo. > Root-on-ZFS and BEs are great, no doubt, but I can do without them while > I have AWS (or any other hypervisor) cheap and fast VM snapshots. > > > > Very simple questions from the management: > > > > > > 1. If we decide to run FreeBSD on AWS ARM64 instances, how are you > going > > > to upgrade them? Via buildworld on each? Not funny. > > > > > > > AWS has all kinds of problems so why use them at all instead of a cloud > > provider that gives you a true VM and easy migrations paths. > > Please name one, with the number of features comparable to Amazon and a > better FreeBSD support. > Just off the top of my head: RootBSD (forget their new name), Digital Island, Go Daddy, etc. see the following mailing list thread for more info https://lists.freebsd.org/pipermail/freebsd-questions/2020-March/288423.html ... there are a *LOT* of such hosting firms. If your client/employer has an issue point to them that OpenStack is based in part on the AWS archicture and is beyond brain dead compared to other IaaS/PaaS solutions see NASA's Inspector General's report on it where they concluded it was a $35M complete waste of a project: https://oig.nasa.gov/audits/reports/FY13/IG-13-021.pdf ... for example the OpenStack manual says "the worst possible disaster to occur to a cloud is power failure" (WTF?!?!??!?!? No way should a simple power failure completely destroy your ability to recover from a disaster [it does and I can send you links to email threads on this])..... AWS has the same basic flaws (the very concept of a what VM instance as defined by OpenStack was modeled after AWS). > > > > > > > > 2. What if we eventually decide to roll out docker? > > > > > > > Docker is a bag on the side of a kludge that solves no real problems > except > > hiding a fundamentally misarchitured OS. > > Sorry, I can't say that to the management. That is, I can, but their > reaction will be "Please go sober up and return when you are ready to > talk shop." > Then give them stronger evidence like Linux is only the kernel and there is no single unified architecture for how to build anything above that in Linux (since by definition it is not Linux). Whereis FreeBSD (and the other traditional BSD's) are a complete system that is carefully designed and tested as a complete unit. To top it off Linux is less than 30 years old but FreeBSD can trace its routes directly (if you are not concerned with the legal fine print that says it is not allowed to) before we landed on the moon. Therefore FreeBSD (and the other BSD's) have been tested under fire for much longer and are specifically designed for never fail performance (whereis Linux never even had that goal). You can also point to total I/O (network specifically) throughput and show that FreeBSD consistently beats all other OS's. For example in the mid-90's I wrote the first single threaded web server and it blew away all other servers on the market at the time (and still does as far I know) when run on FreeBSD but came to a near standstill on Linux (when the benchmarking company we hired to benchmark it said they were unable to benchmark it at full capacity because they were not able to overload it even using 30 bot machines to do so). http://johnsokol.blogspot.com/2006/11/afterburner-web-server.html Linux has never fixed the underlying reasons why it has such poor network throughput (just relied on Moore's Law to solve the problem) where is FreeBSD has continued to improve in this area. > > If you really want to use Linux > > then do it as a VM on a FreeBSD host to for stability reasons. > > Again, please define "stability." > See above. Would you rather build a swimming pool on solid ground or by putting fresh water in a inverted plastic bag in the ocean and hope it doesn't break? -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org