[02:03] Hello, I am having some performance issues with my NFS mount. Server is 14.04 and client is 17.04 I am trying to take a backup of the client using backintime program. The client has a 1tb ssd to backup and the server saves this to a 4tb 5400 HDD. The process starts out at a good 200+ mbps but after about 15 minutes or so drops to ~50kbps which will make it take many days to finish. I used to perform the backup using SFTP with the same setup [02:03] however the CPU usage on the server for the sshd process was becoming a bottleneck. The speed was much better than this though. With the NFS there does not seem to be a cpu or disk bottleneck on either machine. I have tried the async mount option. Any other immediate suggestions what could be wrong? [02:04] Also both computers with gigabit cards are connected to one gigabit router in the middle in a home LAN [02:13] Pinkamena_D: check iops usage [02:14] Pinkamena_D: usually nfs is sync, meaning it requires a committed write to the drive before something else can go on [02:14] Pinkamena_D: you can export/mount it as async, it'll help a lot for speed, but you might lose data in case of a power loss [02:15] yeah, I have tried to use async but it does not seem to help much [02:15] try to monitor disk I/O [02:15] something like munin is nice [02:15] or sysstat [02:16] sysstat is easy - just install it and enable it - munin is a web thing and may take a wee bit of more effort [02:17] I'd recommend trying munin, though [02:17] it'll probably take half an hour to get some useful data out from it, since it only runs every five minutes [02:17] I can see disk IO in glances - just trying to rm the files now, I get about 1.5M read and 0 write. [02:17] Pinkamena_D: https://munin.malinux.no/ [02:18] running the command on the server itself is much faster [02:18] anything in dmesg? [02:18] run dmesg -T | pastebinit [02:19] theres no errors [02:19] heres a few lines that are relevant: https://bpaste.net/show/1c325288d9a0 [02:20] One other thing I can think of, though I dont think it should be this drastic, is that I am using btrfs [02:23] not sure if it's relevant. but again, I'll use btrfs when it's stable as in stable, same thing goes to visiting the US, I'll go there again when it's a working democraty there. Nonoe of those seem to happen very soon === Guest69707 is now known as db === db is now known as db` === ZipSplat- is now known as ZipSplat [06:12] I copied a file to my pendrive using command line. I noticed that if I had copied using the graphical interface then it would have been a lot more faster. What is the reason? [06:16] I copied a file to my pendrive using command line. I noticed that if I had copied using the graphical interface then it would have been a lot more faster. What is the reason? [06:18] ping [06:18] pingit [06:19] I copied a file to my pendrive using command line. I noticed that if I had copied using the graphical interface then it would have been a lot more faster. What is the reason? [06:22] Hello. [06:24] I copied a file to my pendrive using command line. I noticed that if i had copied using graphical interface then it would have been a lot more faster. What is the reason? [06:28] Hello. Is anybody there? [06:32] I coied a large file to my pendrive using command line. I noticed that the process of copying was very slow as compared to that if I had done in command line. Why? [07:02] * RoyK waes [07:02] * RoyK waves [07:03] pankaj: it doesn't help to repeat the question ;) [07:03] !patience [07:03] Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/ [07:05] pankaj: do you have a GUI on your server? [07:05] RoyK: I am using desktop version. [07:06] RoyK: I was doing it for fun and noticed that it was copying too slow. What might be the reason? [07:06] no idea, I don't use a GUI for moving large data [07:06] RoyK: Is this due to different file system? But I have never noticed it before. [07:07] if it's faster on the commandline, no [07:07] the GUI is just a wrapper [07:10] RoyK: I was just asking that when I was copying the file why it was slow ( I did it using command line). I just wanted to know that what might have been the reason for this? [07:11] pankaj: ok, it's slow on the commandline? [07:12] RoyK: Yes, It was slow in command line. If I had done on GUI then I would have done faster. [07:13] RoyK: I know that GUI is just a wrapper so that is why I am asking that why it was slow in cmd instead. [07:13] pankaj: no, it wouldn't. the gui would definetely not be faster, probably slower, because of the overhead, but then, the gui may have some buffering [07:14] so if you copy something over to that usb thing and then unmount it, perhaps you'll see it'll be sitting quite a while before it's unmounted [07:14] RoyK: I told you that what it was noticing. [07:15] RoyK: Somebody told me told me that the problem may have been due to buffering. [07:16] what? the whole process being slower on the commandline compared to the gui including umounting or syncing in the gui? [07:17] RoyK: Just copying the file was slower. [07:17] I don't know what fancy styff they add in the gui to make things more comfortable, but it's not related to an ubuntu server [07:17] pankaj: the I/O speed is the same [07:18] RoyK: OK. what is the use od sync command [07:18] man sync [07:19] but seriously, there's no way a gui can speed up disk I/O compared to the commandline [07:19] RoyK: ok [07:20] I work a lot with linux and data storage and have done so for 20+ years, a fancy gui doesn't speed things up [07:20] it may have buffering, though, which makes things look and feel faster, which is good in a desktop environment [07:20] backgrounding the writing to the device [07:21] RoyK: I wanted to learn C++ in linux but it is very different from what I did in windows world . Is their any good book or any good resource that you would suggest me for c++ in linux or some tips will be helpful. [07:22] c++ is the same all over, it's just different libraries [07:23] but C++ is the same across all platforms [07:24] RoyK: Please sir any tips for it in linux world and where to find help for it for learing purposes. perhaps some of the best books you suggest. [07:25] for c++? [07:26] RoyK: Yes. I want to learn because I love programming. ABsolutely in favour of open source in this way. [07:26] google is usually a fine place to start ;) [07:27] RoyK: I know but sometimes I get mixed with so much resources and ideas. [07:27] Bjarne Stroustrup's books on C++ are good [07:28] seems "the bible" is available online now, for free, if I'm not mistaken https://github.com/BestSonny/materials/blob/master/The%20C%2B%2B%20Programming%20Language%20%5B4th%20Edition%5D%20-%20Bjarne%20Stroustrup.pdf [07:28] pankaj: I read that book and I also used to practise a lot in my highschool. But beyond the basics I want to learn more. [07:29] RoyK: I have learned till pointers and file handling and pointers. [07:32] pankaj: Bjarne Stroustrup designed C++ ;) [07:32] RoyK: Thanks for the link. I wanted to learn more but many books in c++ end after pointers, file handling, classes and inheritance. What after that? [07:33] just read that book - it's long, but thorough [07:34] RoyK: OK. [07:35] RoyK: I want to tell you something. [07:36] go on :) [07:38] I dropped out from the collage 1 and half year ago because I love programming and I was sure that I could not learn it in the best way if I study there because programming and collage admissions has become busness here. [07:41] pankaj: I love programming and really want to learn more about languages like c++ and web development. I have studied from many of the possible sources available free on the internet. So, I think that you can help me and guide on how can I study better. [07:41] c++ for web? [07:43] RoyK: No, I my extra time I learn HTML, CSS, bootstrap etc. But I am really interested in System like linux. I want to learn c++ mainly and want to help open source society by what I learn. [07:44] nice [07:44] pankaj: Just wanted a guide. [07:44] keep in mind that a lot of OSS stuff on linux are written in C [07:44] not C++ [07:46] RoyK: OK. So, I have already learn the basics of c. I will surely practise more day and night to improve. But I do not know that how to get in the world of real development. A lot of this stuff is hidden from the basics that we used to do in schools. [07:47] RoyK: I wanted to learn more then these file handling and pointers. [07:48] RoyK: Hello [07:50] I know that how to make small programs specially in linux by placing the file in /usr/local/bin and executing directly as on the path. But I want to learn more. [07:56] pankaj: there's a lot of sources for learning things online - just google it - scripting bash etc [07:57] RoyK: Hello [08:03] RoyK: Hello [10:40] moin === ashleyd is now known as ashd [11:04] trying to use the ubuntu cloud image in virtualbox. can anyone tell me how to instrument cloud-init in order to set a password? i tried adding a floppy disk with user-data, but it doesn't seem to take effect. [11:39] ah, so apparently floppy disk does not work and i need to use a disk instead. [12:31] my first ubuntu server tutorial is done: https://help.ubuntu.com/community/HALAMP [12:31] i feel proud :D [13:00] gunix: fyi, that would belong in #ubuntu-discuss or #ubuntu-offtopic, not in the support channels [13:01] ducasse: thank you. i didn't know #ubuntu-discuss exists. what's the differance between discuss and offtopic? [13:02] gunix: in practice, not much :) === compdoc_ is now known as compdoc === JanC_ is now known as JanC [22:13] Can anyone help with this please? http://paste.ubuntu.com/25510458/ my /boot is full and I can't purge old kernels [22:19] https://askubuntu.com/questions/89710/how-do-i-free-up-more-space-in-boot [22:19] jamespage, dosaboy good to see you guys are out and about enjoying the Mile High City. [22:19] Welcome. [22:31] Ussat none of those methods are working